trunk/src/emu/machine/netlist.h
| r17908 | r17909 | |
| 108 | 108 | netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base()); \ |
| 109 | 109 | |
| 110 | 110 | #if defined(__GNUC__) && (__GNUC__ >= 3) |
| 111 | #if !defined(__ppc__) && !defined (__PPC__) && !defined(__ppc64__) && !defined(__PPC64__) |
| 111 | 112 | #define ATTR_ALIGN __attribute__ ((aligned(128))) |
| 112 | 113 | #else |
| 113 | 114 | #define ATTR_ALIGN |
| 114 | 115 | #endif |
| 116 | #else |
| 117 | #define ATTR_ALIGN |
| 118 | #endif |
| 115 | 119 | |
| 116 | 120 | //============================================================ |
| 117 | 121 | // MACROS / netlist devices |
| r17908 | r17909 | |
| 1125 | 1129 | |
| 1126 | 1130 | // construction/destruction |
| 1127 | 1131 | netlist_mame_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 1132 | virtual ~netlist_mame_device() {} |
| 1128 | 1133 | |
| 1129 | 1134 | static void static_set_constructor(device_t &device, void (*setup_func)(netlist_setup_t &)); |
| 1130 | 1135 | |
| r17908 | r17909 | |
| 1168 | 1173 | { |
| 1169 | 1174 | public: |
| 1170 | 1175 | virtual bool OnDeviceStart() = 0; |
| 1176 | virtual ~on_device_start() {} |
| 1171 | 1177 | }; |
| 1172 | 1178 | |
| 1173 | 1179 | // device finder template |