mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 04:25:57 +00:00
pbar base can be built by using the base address fields stored in struct pci_bar's reg member. get_pbar_base: return pbar's base address in 64-bit. For 64-bit MMIO bar, its lower 32-bits base address and upper 32-bits base are combined into one 64-bit base address pci_bar_2_bar_base: helper function that is called by get_pbar_base And changed related code to use get_pbar_base to get pbar base address in 64-bit Tracked-On: #3241 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>