Home
last modified time | relevance | path

Searched refs:vtpm2 (Results 1 – 1 of 1) sorted by relevance

/hypervisor/quirks/
A Dsecurity_vm_fixup.c41 struct acpi_table_tpm2 *vtpm2 = NULL, *tpm2 = NULL; in tpm2_fixup() local
49 vtpm2 = get_acpi_mod_entry(ACPI_SIG_TPM2, mod->start); in tpm2_fixup()
52 if (config->pt_tpm2 && (vtpm2 != NULL) && (tpm2 != NULL)) { in tpm2_fixup()
61 vtpm2->start_method = tpm2->start_method; in tpm2_fixup()
67 vtpm2->header.length = tpm2->header.length; in tpm2_fixup()
68 vtpm2->header.revision = tpm2->header.revision; in tpm2_fixup()
69 vtpm2->laml = tpm2->laml; in tpm2_fixup()
70 vtpm2->lasa = dev->res[1].user_vm_pa; in tpm2_fixup()
78 vtpm2->header.checksum = 0; in tpm2_fixup()
79 checksum = calculate_checksum8(vtpm2, sizeof(struct acpi_table_tpm2)); in tpm2_fixup()
[all …]

Completed in 3 milliseconds