mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 20:59:03 +00:00
HV: init ptdev bar during runtime for partition mode
Current pt devices bar info for partion mode is hardcoded in vm_description.c, now we remove the hardcoded info and parse the bar info during pt devices init. Tracked-On: #2431 Signed-off-by: Victor Sun <victor.sun@intel.com> Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
983b717a61
commit
f082176df0
@@ -225,6 +225,7 @@ void pci_pdev_write_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes, uint
|
||||
void enable_disable_pci_intx(union pci_bdf bdf, bool enable);
|
||||
|
||||
void pci_pdev_foreach(pci_pdev_enumeration_cb cb, const void *ctx);
|
||||
struct pci_pdev *find_pci_pdev(union pci_bdf pbdf);
|
||||
void init_pci_pdev_list(void);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user