diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:29 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:30 -0500 |
commit | cfc0be257ca75abf357757661d4950aeeb4a8835 (patch) | |
tree | fc7ebdc53d1ba1e443ac6f4c31e439fdefea80fc /hw/pci.h | |
parent | 14caaf7f422b412b55d8cde06767ced003fc31c3 (diff) | |
download | hqemu-cfc0be257ca75abf357757661d4950aeeb4a8835.zip hqemu-cfc0be257ca75abf357757661d4950aeeb4a8835.tar.gz |
pci: remove pci_register_bar()
Superceded by pci_register_bar_region(). The implementations
are folded together.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -201,9 +201,6 @@ PCIDevice *pci_register_device(PCIBus *bus, const char *name, PCIConfigReadFunc *config_read, PCIConfigWriteFunc *config_write); -void pci_register_bar(PCIDevice *pci_dev, int region_num, - pcibus_t size, uint8_t type, - PCIMapIORegionFunc *map_func); void pci_register_bar_region(PCIDevice *pci_dev, int region_num, uint8_t attr, MemoryRegion *memory); pcibus_t pci_get_bar_addr(PCIDevice *pci_dev, int region_num); |