Revision 3c2aed8b

b/hw/syborg_interrupt.c
222 222
    .qdev.name  = "syborg,interrupt",
223 223
    .qdev.size  = sizeof(SyborgIntState),
224 224
    .qdev.props = (Property[]) {
225
        {
226
            .name   = "num-interrupts",
227
            .info   = &qdev_prop_uint32,
228
            .offset = offsetof(SyborgIntState, num_irqs),
229
            .defval = (uint32_t[]) { 64 },
230
        },
231
        {/* end of list */}
225
        DEFINE_PROP_UINT32("num-interrupts", SyborgIntState, num_irqs, 64),
226
        DEFINE_PROP_END_OF_LIST(),
232 227
    }
233 228
};
234 229

  

Also available in: Unified diff