summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2021-01-21 20:09:19 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-25 02:21:32 +0000
commit96a9acfc527964dc5ab7298862a0cd8aa5fffc6a (patch)
tree2e69574adafdfdf4cf21ef8b430149ff58f337ef /MdePkg
parent3b769c5110384fb33bcfeddced80f721ec7838cc (diff)
downloadedk2-96a9acfc527964dc5ab7298862a0cd8aa5fffc6a.tar.gz
edk2-96a9acfc527964dc5ab7298862a0cd8aa5fffc6a.tar.bz2
edk2-96a9acfc527964dc5ab7298862a0cd8aa5fffc6a.zip
MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC
Add Start Method Specific Parameters for ARM SMC Start Method described in the TCG ACPI Specification version 1.2, revision 8. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/Tpm2Acpi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
index 3ed6834cc9..946bc7dab7 100644
--- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
+++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
@@ -2,6 +2,7 @@
TPM2 ACPI table definition.
Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved. <BR>
+Copyright (c) 2021, Ampere Computing LLC. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -48,6 +49,18 @@ typedef struct {
UINT64 Response;
} EFI_TPM2_ACPI_CONTROL_AREA;
+//
+// Start Method Specific Parameters for ARM SMC Start Method (11)
+// Refer to Table 9: Start Method Specific Parameters for ARM SMC
+//
+typedef struct {
+ UINT32 Interrupt;
+ UINT8 Flags;
+ UINT8 OperationFlags;
+ UINT8 Reserved[2];
+ UINT32 SmcFunctionId;
+} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC;
+
#pragma pack ()
#endif