diff options
author | Isaku Yamahata | 2009-11-12 06:58:34 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2009-12-01 16:51:37 +0100 |
commit | f08b32fe959c157d3c3acdad9c7bfe56b5597af1 (patch) | |
tree | 24a4eadb38a76c490d018dea62b1aba3ef0aeaf3 /hw/pci_host.h | |
parent | pci: rename (pci_/pcie_mmcfg_)addr_to_dev (diff) | |
download | qemu-f08b32fe959c157d3c3acdad9c7bfe56b5597af1.tar.gz qemu-f08b32fe959c157d3c3acdad9c7bfe56b5597af1.tar.xz qemu-f08b32fe959c157d3c3acdad9c7bfe56b5597af1.zip |
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/pci_host.h')
-rw-r--r-- | hw/pci_host.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/pci_host.h b/hw/pci_host.h index 7cfa693563..cf3a3393d9 100644 --- a/hw/pci_host.h +++ b/hw/pci_host.h @@ -40,12 +40,12 @@ void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, int len); uint32_t pci_data_read(PCIBus *s, uint32_t addr, int len); /* for mmio */ -int pci_host_config_register_io_memory(PCIHostState *s); -int pci_host_config_register_io_memory_noswap(PCIHostState *s); -int pci_host_data_register_io_memory(PCIHostState *s); +int pci_host_conf_register_mmio(PCIHostState *s); +int pci_host_conf_register_mmio_noswap(PCIHostState *s); +int pci_host_data_register_mmio(PCIHostState *s); /* for ioio */ -void pci_host_config_register_ioport(pio_addr_t ioport, PCIHostState *s); +void pci_host_conf_register_ioport(pio_addr_t ioport, PCIHostState *s); void pci_host_data_register_ioport(pio_addr_t ioport, PCIHostState *s); #endif /* PCI_HOST_H */ |