Revision 28c2c264 hw/openpic.c
b/hw/openpic.c | ||
---|---|---|
1212 | 1212 |
pci_conf[0x3d] = 0x00; // no interrupt pin |
1213 | 1213 |
|
1214 | 1214 |
/* Register I/O spaces */ |
1215 |
pci_register_io_region((PCIDevice *)opp, 0, 0x40000,
|
|
1215 |
pci_register_bar((PCIDevice *)opp, 0, 0x40000,
|
|
1216 | 1216 |
PCI_ADDRESS_SPACE_MEM, &openpic_map); |
1217 | 1217 |
} else { |
1218 | 1218 |
opp = qemu_mallocz(sizeof(openpic_t)); |
Also available in: Unified diff