static void armv7m_nvic_class_init(ObjectClass *klass, void *data)

{

    NVICClass *nc = NVIC_CLASS(klass);

    DeviceClass *dc = DEVICE_CLASS(klass);

    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(klass);



    nc->parent_reset = dc->reset;

    nc->parent_init = sdc->init;

    sdc->init = armv7m_nvic_init;

    dc->vmsd  = &vmstate_nvic;

    dc->reset = armv7m_nvic_reset;

}

static void armv7m_nvic_class_init(ObjectClass *klass, void *data)

{

    NVICClass *nc = NVIC_CLASS(klass);

    DeviceClass *dc = DEVICE_CLASS(klass);

    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(klass);



    nc->parent_reset = dc->reset;

    nc->parent_init = sdc->init;

    sdc->init = armv7m_nvic_init;

    dc->vmsd  = &vmstate_nvic;

    dc->reset = armv7m_nvic_reset;

}

    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(klass);     nc->parent_init = sdc->init;     sdc->init = armv7m_nvic_init;
static void FUNC_0(ObjectClass *VAR_0, void *VAR_1)

{

    NVICClass *nc = NVIC_CLASS(VAR_0);

    DeviceClass *dc = DEVICE_CLASS(VAR_0);

    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(VAR_0);



    nc->parent_reset = dc->reset;

    nc->parent_init = sdc->init;

    sdc->init = armv7m_nvic_init;

    dc->vmsd  = &vmstate_nvic;

    dc->reset = armv7m_nvic_reset;

}

static void FUNC_0(ObjectClass *VAR_0, void *VAR_1)
{ NVICClass *nc = NVIC_CLASS(VAR_0); DeviceClass *dc = DEVICE_CLASS(VAR_0); SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(VAR_0); nc->parent_reset = dc->reset; nc->parent_init = sdc->init; sdc->init = armv7m_nvic_init; dc->vmsd  = &vmstate_nvic; dc->reset = armv7m_nvic_reset; }