diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-11-12 14:58:34 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2009-12-01 17:51:37 +0200 |
commit | f08b32fe959c157d3c3acdad9c7bfe56b5597af1 (patch) | |
tree | 24a4eadb38a76c490d018dea62b1aba3ef0aeaf3 /hw/ppc4xx_pci.c | |
parent | 8d6514f8dd2a8102ec3d577b13cb565fb9cfe73c (diff) | |
download | hqemu-f08b32fe959c157d3c3acdad9c7bfe56b5597af1.zip hqemu-f08b32fe959c157d3c3acdad9c7bfe56b5597af1.tar.gz |
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>
Diffstat (limited to 'hw/ppc4xx_pci.c')
-rw-r--r-- | hw/ppc4xx_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc4xx_pci.c b/hw/ppc4xx_pci.c index 3aa7489..2d00b61 100644 --- a/hw/ppc4xx_pci.c +++ b/hw/ppc4xx_pci.c @@ -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); |