mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-21 22:43:12 +00:00
Add some encapsulation of utilities which read PCI header space using
wrapper functions. Also contain verification of PCI vendor to its own
function, rather than having hard-coded integrals exposed among other
code.
v3->v2
Changed the return type of pci_pdev_read_cfg_secbus
from 32-bit to 8-bit
v2->v1
Function names changed to follow Coding guidelines
Tracked-On: #4134
Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>