mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
pci: move pci_data_{read, write}() declaration from pci.h to pci_host.h
Now pci host stuff has been moved from pci.[hc] to pci_host.[hc] so the declaration of pci_data_{read, write}() should be in pci_host.h This patch moves them from pci.h to pci_host.h for consistency. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
f88d7509b4
commit
b6243d991a
4 changed files with 5 additions and 2 deletions
|
@ -36,6 +36,9 @@ typedef struct {
|
|||
PCIBus *bus;
|
||||
} PCIHostState;
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue