Hi,
What difference does it make to define:
DeviceState *nvic;
nvic = qdev_create(NULL, TYPE_ARMV7M);
vs
DeviceState *armv7m;
armv7m = DEVICE(&s->armv7m);
Can you please explain me because I'm confused between two machines which I want to adapt for my custom machine which is based on Cortex-M3.
BR.
Abhijeet.