acrn-hypervisor/hypervisor/include/dm
dongshen ed1bdcbbdf HV: add uint64_t bar_base_mapped[PCI_BAR_COUNT] to struct pci_vdev
To remember the previously mapped/registered vbar base

For the following reasons:
 register_mmio_emulation_handler() will throw an error if the the same addr_lo is
 alreayd registered before

 We are going to remove the base member from struct pci_bar, so we cannot use vdev->bar[idx].base
 in the code any more

 In subsequent commits, we will assume vdev_pt_remap_generic_mem_vbar() is called after a new
 vbar base is set, mainly because of 64-bit mmio bar handling, so we need a
 separate bar_base_mapped[] array to track the previously mapped vbar bases.

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
..
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 uint64_t bar_base_mapped[PCI_BAR_COUNT] to struct pci_vdev 2019-07-01 09:57:05 +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