Revision f08b32fe hw/apb_pci.c
b/hw/apb_pci.c | ||
---|---|---|
236 | 236 |
pci_apb_iowrite, s); |
237 | 237 |
sysbus_init_mmio(dev, 0x10000ULL, pci_ioport); |
238 | 238 |
/* mem_config */ |
239 |
pci_mem_config = pci_host_config_register_io_memory(&s->host_state);
|
|
239 |
pci_mem_config = pci_host_conf_register_mmio(&s->host_state);
|
|
240 | 240 |
sysbus_init_mmio(dev, 0x10ULL, pci_mem_config); |
241 | 241 |
/* mem_data */ |
242 |
pci_mem_data = pci_host_data_register_io_memory(&s->host_state);
|
|
242 |
pci_mem_data = pci_host_data_register_mmio(&s->host_state);
|
|
243 | 243 |
sysbus_init_mmio(dev, 0x10000000ULL, pci_mem_data); |
244 | 244 |
return 0; |
245 | 245 |
} |
Also available in: Unified diff