mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
Rename pci_register_io_region() to pci_register_bar()
This function is used to manage a PCI BAR, so make the more generic pci_register_io_region() available to other uses. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
e9179ce1a0
commit
28c2c26495
21 changed files with 40 additions and 40 deletions
2
hw/pci.h
2
hw/pci.h
|
@ -166,7 +166,7 @@ PCIDevice *pci_register_device(PCIBus *bus, const char *name,
|
|||
PCIConfigWriteFunc *config_write);
|
||||
int pci_unregister_device(PCIDevice *pci_dev);
|
||||
|
||||
void pci_register_io_region(PCIDevice *pci_dev, int region_num,
|
||||
void pci_register_bar(PCIDevice *pci_dev, int region_num,
|
||||
uint32_t size, int type,
|
||||
PCIMapIORegionFunc *map_func);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue