debugexit.c (c3ab4c9cf24ec9efb9c6d82b6027c0587d3081fa) | debugexit.c (125ee0ed9cad04307498ac2b7b0d51ad8a807360) |
---|---|
1/* 2 * debug exit port emulation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) any later version. 8 */ --- 44 unchanged lines hidden (view full) --- 53}; 54 55static void debug_exit_class_initfn(ObjectClass *klass, void *data) 56{ 57 DeviceClass *dc = DEVICE_CLASS(klass); 58 59 dc->realize = debug_exit_realizefn; 60 dc->props = debug_exit_properties; | 1/* 2 * debug exit port emulation 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) any later version. 8 */ --- 44 unchanged lines hidden (view full) --- 53}; 54 55static void debug_exit_class_initfn(ObjectClass *klass, void *data) 56{ 57 DeviceClass *dc = DEVICE_CLASS(klass); 58 59 dc->realize = debug_exit_realizefn; 60 dc->props = debug_exit_properties; |
61 set_bit(DEVICE_CATEGORY_MISC, dc->categories); |
|
61} 62 63static const TypeInfo debug_exit_info = { 64 .name = TYPE_ISA_DEBUG_EXIT_DEVICE, 65 .parent = TYPE_ISA_DEVICE, 66 .instance_size = sizeof(ISADebugExitState), 67 .class_init = debug_exit_class_initfn, 68}; 69 70static void debug_exit_register_types(void) 71{ 72 type_register_static(&debug_exit_info); 73} 74 75type_init(debug_exit_register_types) | 62} 63 64static const TypeInfo debug_exit_info = { 65 .name = TYPE_ISA_DEBUG_EXIT_DEVICE, 66 .parent = TYPE_ISA_DEVICE, 67 .instance_size = sizeof(ISADebugExitState), 68 .class_init = debug_exit_class_initfn, 69}; 70 71static void debug_exit_register_types(void) 72{ 73 type_register_static(&debug_exit_info); 74} 75 76type_init(debug_exit_register_types) |