Revision 2507c12a hw/apb_pci.c
b/hw/apb_pci.c | ||
---|---|---|
410 | 410 |
|
411 | 411 |
/* apb_config */ |
412 | 412 |
apb_config = cpu_register_io_memory(apb_config_read, |
413 |
apb_config_write, s); |
|
413 |
apb_config_write, s, |
|
414 |
DEVICE_NATIVE_ENDIAN); |
|
414 | 415 |
/* at region 0 */ |
415 | 416 |
sysbus_init_mmio(dev, 0x10000ULL, apb_config); |
416 | 417 |
|
... | ... | |
424 | 425 |
|
425 | 426 |
/* pci_ioport */ |
426 | 427 |
pci_ioport = cpu_register_io_memory(pci_apb_ioread, |
427 |
pci_apb_iowrite, s); |
|
428 |
pci_apb_iowrite, s, |
|
429 |
DEVICE_NATIVE_ENDIAN); |
|
428 | 430 |
/* at region 2 */ |
429 | 431 |
sysbus_init_mmio(dev, 0x10000ULL, pci_ioport); |
430 | 432 |
|
Also available in: Unified diff