acrn-hypervisor/hypervisor/include/dm
dongshen f7c4d2b5c4 HV: add uint32_t nr_bars to struct pci_vdev
Use nr_bars instead of PCI_BAR_COUNT to check bar access offset.
As while normal pci device has max 6 bars, pci bridge only has 2 bars,
so for pci normal pci device, pci cfg offsets 0x10-0x24 are for bar access,
but for pci bridge, only 0x10-0x14 are for bar access (0x18-0x24 are
for other accesses).

Rename function:
 pci_bar_access --> is_bar_offset

Tracked-On: #3241
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-06-27 15:35:16 +08:00
..
io_req.h HV: rename 'type' in struct io_request 2019-05-06 18:25:20 +08:00
mptable.h hv: Build mptable for guest if VM type is Pre-Launched 2019-04-15 15:51:02 +08:00
vioapic.h HV: Clean vpic and vioapic logic when lapic is pt 2019-06-12 14:29:50 +08:00
vpci.h HV: add uint32_t nr_bars to struct pci_vdev 2019-06-27 15:35:16 +08:00
vpic.h HV:Modularize vpic code to remove usage of acrn_vm 2019-06-13 09:54:52 +08:00
vuart.h HV: remove 'vuart' from debug command list 2019-04-29 15:25:39 +08:00