Revision 6bef0436 hw/apb_pci.c
b/hw/apb_pci.c | ||
---|---|---|
418 | 418 |
/* PCI configuration space */ |
419 | 419 |
s->pci_config_handler.read = apb_pci_config_read; |
420 | 420 |
s->pci_config_handler.write = apb_pci_config_write; |
421 |
pci_config = cpu_register_io_memory_simple(&s->pci_config_handler); |
|
421 |
pci_config = cpu_register_io_memory_simple(&s->pci_config_handler, |
|
422 |
DEVICE_NATIVE_ENDIAN); |
|
422 | 423 |
assert(pci_config >= 0); |
423 | 424 |
/* at region 1 */ |
424 | 425 |
sysbus_init_mmio(dev, 0x1000000ULL, pci_config); |
Also available in: Unified diff