mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-11 23:51:08 +00:00
ACRN used to prepare the vTPM2 ACPI Table for pre-launched VM at the build stage using config tools. This is OK if the TPM2 ACPI Table never changes. However, TPM2 ACPI Table may be changed in some conditions: change BIOS configuration or update BIOS. This patch do TPM2 fixup to update the vTPM2 ACPI Table and TPM2 MMIO resource configuration according to the physical TPM2 ACPI Table. Tracked-On: #6366 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Signed-off-by: Fei Li <fei1.li@intel.com>
13 lines
251 B
C
13 lines
251 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef _SECURITY_VM_FIXUP_H_
|
|
#define _SECURITY_VM_FIXUP_H_
|
|
|
|
void security_vm_fixup(uint16_t vm_id);
|
|
|
|
#endif /* _SECURITY_VM_FIXUP_H_ */
|