mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
HV: refine acrn_mmiodev data structure
1. add a name field to indicate what the MMIO Device is. 2. add two more MMIO resource to the acrn_mmiodev data structure. Tracked-On: #6366 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Signed-off-by: Fei Li <fei1.li@intel.com>
This commit is contained in:
@@ -291,6 +291,11 @@ static void prepare_prelaunched_vm_memmap(struct acrn_vm *vm, const struct acrn_
|
||||
}
|
||||
|
||||
for (i = 0U; i < MAX_MMIO_DEV_NUM; i++) {
|
||||
/* Now we include the TPM2 event log region in ACPI NVS, so we need to
|
||||
* delete this potential mapping first.
|
||||
*/
|
||||
(void)deassign_mmio_dev(vm, &vm_config->mmiodevs[i]);
|
||||
|
||||
(void)assign_mmio_dev(vm, &vm_config->mmiodevs[i]);
|
||||
|
||||
#ifdef P2SB_VGPIO_DM_ENABLED
|
||||
|
Reference in New Issue
Block a user