mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
pci: remove pci_register_bar_simple()
Superceded by pci_register_bar_region(). 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>
This commit is contained in:
parent
95524ae8dc
commit
fa6c606589
2 changed files with 0 additions and 20 deletions
3
hw/pci.h
3
hw/pci.h
|
@ -93,7 +93,6 @@ typedef struct PCIIORegion {
|
|||
pcibus_t filtered_size;
|
||||
uint8_t type;
|
||||
PCIMapIORegionFunc *map_func;
|
||||
ram_addr_t ram_addr;
|
||||
MemoryRegion *memory;
|
||||
MemoryRegion *address_space;
|
||||
} PCIIORegion;
|
||||
|
@ -204,8 +203,6 @@ PCIDevice *pci_register_device(PCIBus *bus, const char *name,
|
|||
void pci_register_bar(PCIDevice *pci_dev, int region_num,
|
||||
pcibus_t size, uint8_t type,
|
||||
PCIMapIORegionFunc *map_func);
|
||||
void pci_register_bar_simple(PCIDevice *pci_dev, int region_num,
|
||||
pcibus_t size, uint8_t attr, ram_addr_t ram_addr);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue