mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13: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
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue