mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
pci: add helper to retrieve the 64-bit range
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
c5a22c4344
commit
4386406957
2 changed files with 51 additions and 0 deletions
|
|
@ -397,6 +397,7 @@ const char *pci_root_bus_path(PCIDevice *dev);
|
|||
PCIDevice *pci_find_device(PCIBus *bus, int bus_num, uint8_t devfn);
|
||||
int pci_qdev_find_device(const char *id, PCIDevice **pdev);
|
||||
PCIBus *pci_get_bus_devfn(int *devfnp, PCIBus *root, const char *devaddr);
|
||||
void pci_bus_get_w64_range(PCIBus *bus, Range *range);
|
||||
|
||||
int pci_parse_devaddr(const char *addr, int *domp, int *busp,
|
||||
unsigned int *slotp, unsigned int *funcp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue