Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/
DTcg2Smm.c76 EFI_TPM2_ACPI_TABLE mTpm2AcpiTemplate = { variable
79 sizeof (mTpm2AcpiTemplate),
513 &mTpm2AcpiTemplate, in PublishTpm2()
514 sizeof(mTpm2AcpiTemplate) in PublishTpm2()
520mTpm2AcpiTemplate.StartMethod = EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE; in PublishTpm2()
521 mTpm2AcpiTemplate.AddressOfControlArea = PcdGet64 (PcdTpmBaseAddress) + 0x40; in PublishTpm2()
522 ControlArea = (EFI_TPM2_ACPI_CONTROL_AREA *)(UINTN)mTpm2AcpiTemplate.AddressOfControlArea; in PublishTpm2()
536 …CopyMem (mTpm2AcpiTemplate.Header.OemId, PcdGetPtr (PcdAcpiDefaultOemId), sizeof (mTpm2AcpiTemplat… in PublishTpm2()
538 CopyMem (&mTpm2AcpiTemplate.Header.OemTableId, &OemTableId, sizeof (UINT64)); in PublishTpm2()
539 mTpm2AcpiTemplate.Header.OemRevision = PcdGet32 (PcdAcpiDefaultOemRevision); in PublishTpm2()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c25 EFI_TPM2_ACPI_TABLE mTpm2AcpiTemplate = { variable
28 sizeof (mTpm2AcpiTemplate),
424 &mTpm2AcpiTemplate, in PublishTpm2()
425 sizeof(mTpm2AcpiTemplate) in PublishTpm2()
428 …CopyMem (mTpm2AcpiTemplate.Header.OemId, PcdGetPtr (PcdAcpiDefaultOemId), sizeof (mTpm2AcpiTemplat… in PublishTpm2()
430 CopyMem (&mTpm2AcpiTemplate.Header.OemTableId, &OemTableId, sizeof (UINT64)); in PublishTpm2()
431 mTpm2AcpiTemplate.Header.OemRevision = PcdGet32 (PcdAcpiDefaultOemRevision); in PublishTpm2()
432 mTpm2AcpiTemplate.Header.CreatorId = PcdGet32 (PcdAcpiDefaultCreatorId); in PublishTpm2()
433 mTpm2AcpiTemplate.Header.CreatorRevision = PcdGet32 (PcdAcpiDefaultCreatorRevision); in PublishTpm2()
443 &mTpm2AcpiTemplate, in PublishTpm2()
[all …]