mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV: rename pci_pdev_array to pci_pdevs
hv: pci: rename pci_pdev_array to pci_pdevs to make it clearer Tracked-On: #4857 Signed-off-by: Wang Qian <qian1.wang@intel.com> Reviewed-by: Li Fei <Fei1.Li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -338,12 +338,12 @@ void enable_disable_pci_intx(union pci_bdf bdf, bool enable);
|
||||
void init_pci_pdev_list(void);
|
||||
|
||||
/* @brief: Find the DRHD index corresponding to a PCI device
|
||||
* Runs through the pci_pdev_array and returns the value in drhd_idx
|
||||
* Runs through the pci_pdevs and returns the value in drhd_idx
|
||||
* member from pdev strucutre that matches matches B:D.F
|
||||
*
|
||||
* @pbdf[in] B:D.F of a PCI device
|
||||
*
|
||||
* @return if there is a matching pbdf in pci_pdev_array, pdev->drhd_idx, else -1U
|
||||
* @return if there is a matching pbdf in pci_pdevs, pdev->drhd_idx, else -1U
|
||||
*/
|
||||
uint32_t pci_lookup_drhd_for_pbdf(uint16_t pbdf);
|
||||
|
||||
|
Reference in New Issue
Block a user