Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HV: add get_pbar_base() to get pbar base address in 64-bit
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>
- Loading branch information
Showing
1 changed file
with
91 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters