mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
pci: shorten pci_host_{conf, data}_register_xxx function a bit.
pci_host_data_register_io_memory and its variants are too long a bit. So shorten them. Now they are pci_host_{conf, data}_register_{mmio, mmio_noswap, ioport}() Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
8d6514f8dd
commit
f08b32fe95
9 changed files with 27 additions and 27 deletions
|
@ -378,7 +378,7 @@ PCIBus *ppc4xx_pci_init(CPUState *env, qemu_irq pci_irqs[4],
|
|||
cpu_register_physical_memory(config_space + PCIC0_CFGADDR, 4, index);
|
||||
|
||||
/* CFGDATA */
|
||||
index = pci_host_data_register_io_memory(&controller->pci_state);
|
||||
index = pci_host_data_register_mmio(&controller->pci_state);
|
||||
if (index < 0)
|
||||
goto free;
|
||||
cpu_register_physical_memory(config_space + PCIC0_CFGDATA, 4, index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue