Revision 1eed09cb hw/heathrow_pic.c
b/hw/heathrow_pic.c | ||
---|---|---|
226 | 226 |
s = qemu_mallocz(sizeof(HeathrowPICS)); |
227 | 227 |
/* only 1 CPU */ |
228 | 228 |
s->irqs = irqs[0]; |
229 |
*pmem_index = cpu_register_io_memory(0, pic_read, pic_write, s);
|
|
229 |
*pmem_index = cpu_register_io_memory(pic_read, pic_write, s); |
|
230 | 230 |
|
231 | 231 |
register_savevm("heathrow_pic", -1, 1, heathrow_pic_save, |
232 | 232 |
heathrow_pic_load, s); |
Also available in: Unified diff