mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: vpci: rename pci_bar to pci_vbar
Structure pci_vbar is used to define the virtual BAR rather than physical BAR. It's better to name as pci_vbar. Tracked-On: #3475 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <pci.h>
|
||||
|
||||
|
||||
struct pci_bar {
|
||||
struct pci_vbar {
|
||||
enum pci_bar_type type;
|
||||
uint64_t size; /* BAR size */
|
||||
uint64_t base; /* BAR guest physical address */
|
||||
@@ -94,7 +94,7 @@ struct pci_vdev {
|
||||
|
||||
/* The bar info of the virtual PCI device. */
|
||||
uint32_t nr_bars; /* 6 for normal device, 2 for bridge, 1 for cardbus */
|
||||
struct pci_bar bar[PCI_BAR_COUNT];
|
||||
struct pci_vbar vbars[PCI_BAR_COUNT];
|
||||
|
||||
struct pci_msi msi;
|
||||
struct pci_msix msix;
|
||||
|
Reference in New Issue
Block a user