mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
hv: tpm2: do tpm2 fixup for security vm
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>
This commit is contained in:
@@ -73,4 +73,5 @@ void init_acrn_boot_info(uint32_t *registers);
|
||||
int32_t sanitize_acrn_boot_info(struct acrn_boot_info *abi);
|
||||
struct acrn_boot_info *get_acrn_boot_info(void);
|
||||
|
||||
struct abi_module *get_mod_by_tag(const struct acrn_boot_info *abi, const char *tag);
|
||||
#endif /* BOOT_H */
|
||||
|
||||
Reference in New Issue
Block a user