summary refs log tree commit diff stats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-06-14 11:38:53 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-16 15:18:38 -0500
commit28c2c26495da884f534d95bfda7c9b411e1417fc (patch)
treed7966a686f993fb87dbf04cc7a18697dd1f5e13e /hw/pci.h
parente9179ce1a07ff8699fae89dc1cd87efc3dd80c9d (diff)
downloadfocaccia-qemu-28c2c26495da884f534d95bfda7c9b411e1417fc.tar.gz
focaccia-qemu-28c2c26495da884f534d95bfda7c9b411e1417fc.zip
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>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index af6c8fd153..fcca526753 100644
--- a/hw/pci.h
+++ b/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);