}
}
-static struct dcpu16_hw hw_ = {
- .vm = NULL,
+struct dcpu16_hw_module dcpu16_hw_module_spc2000 = {
.name_ = "SPC2000 - Suspension Chamber 2000",
+
.id_l = 0x1d9d,
.id_h = 0x40e4,
.ver = 0x005e,
.hwi = spc2000_hwi_,
.cycle = spc2000_cycle_,
.reset = spc2000_reset_,
- .data = (struct spc2000_ *)NULL
-};
-struct dcpu16_hw_module dcpu16_hw_module_spc2000 = {
- .template = &hw_,
.data_init = spc2000_data_init_,
.data_free = spc2000_data_free_,
.ctl = NULL,