acrn-hypervisor/hypervisor/dm/vpci
dongshen ae996250c1 HV: extract functions from code to improve code reuse and readability
Create 2 functions from code:
 pci_base_from_size_mask
 vdev_pt_remap_mem_vbar

Use vbar in place of vdev->bar[idx] by setting vbar to &vdev->bar[idx]

Change base to uint64_t to accommodate 64-bit MMIO bar size masking in
subsequent commits

Tracked-On: #3241
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
2019-07-01 09:57:05 +08:00
..
pci_pt.c HV: extract functions from code to improve code reuse and readability 2019-07-01 09:57:05 +08:00
vdev.c HV: add missing @pre for some functions 2019-05-20 10:37:13 +08:00
vhostbridge.c HV: add uint32_t nr_bars to struct pci_vdev 2019-06-27 15:35:16 +08:00
vmsi.c hv: Remove unused variable in ptirq_msi_info 2019-05-31 12:31:52 +08:00
vmsix.c hv: Rename tables member of vPCI msix struct pci_msix 2019-06-17 11:06:56 +08:00
vpci_priv.h HV: add missing @pre for some functions 2019-05-20 10:37:13 +08:00
vpci.c ACRN/HV: emulated pcicfg uses the aligned offset to fix the unaligned pci_cfg access 2019-06-13 10:28:17 +08:00