Revision 6ebf5905 hw/ppce500_pci.c
b/hw/ppce500_pci.c | ||
---|---|---|
292 | 292 |
controller->pci_dev = d; |
293 | 293 |
|
294 | 294 |
/* CFGADDR */ |
295 |
index = pci_host_conf_register_mmio(&controller->pci_state, 0); |
|
295 |
index = pci_host_conf_register_mmio(&controller->pci_state, |
|
296 |
DEVICE_BIG_ENDIAN); |
|
296 | 297 |
if (index < 0) |
297 | 298 |
goto free; |
298 | 299 |
cpu_register_physical_memory(registers + PCIE500_CFGADDR, 4, index); |
299 | 300 |
|
300 | 301 |
/* CFGDATA */ |
301 |
index = pci_host_data_register_mmio(&controller->pci_state, 0); |
|
302 |
index = pci_host_data_register_mmio(&controller->pci_state, |
|
303 |
DEVICE_BIG_ENDIAN); |
|
302 | 304 |
if (index < 0) |
303 | 305 |
goto free; |
304 | 306 |
cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index); |
Also available in: Unified diff