summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c')
-rw-r--r--ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c
index a0be2622a4..6f226759a5 100644
--- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c
+++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Tpm2/Tpm2Parser.c
@@ -57,6 +57,16 @@ STATIC CONST ACPI_PARSER Tpm2StartMethodArmSmc[] = {
};
/**
+ An ACPI_PARSER array describing the Start Method Specific Parameters for Arm FF-A table.
+**/
+STATIC CONST ACPI_PARSER Tpm2StartMethodArmFFA[] = {
+ { L"Flags", 1, 0, L"0x%x", NULL, NULL, NULL, NULL },
+ { L"Attributes", 1, 1, L"0x%x", NULL, NULL, NULL, NULL },
+ { L"Partition ID", 2, 2, L"0x%x", NULL, NULL, NULL, NULL },
+ { L"Reserved", 8, 4, L"0x%lx", NULL, NULL, NULL, NULL },
+};
+
+/**
This function parses the ACPI TPM2 table.
When trace is enabled this function parses the TPM2 table and
traces the ACPI table fields.
@@ -109,6 +119,17 @@ ParseAcpiTpm2 (
);
break;
+ case EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_INTERFACE_WITH_FFA:
+ ParseAcpi (
+ TRUE,
+ 0,
+ "Start Method Specific Parameters for Arm FF-A",
+ Ptr + Offset,
+ AcpiTableLength - Offset,
+ PARSER_PARAMS (Tpm2StartMethodArmFFA)
+ );
+ break;
+
default:
Print (
L"WARNING: Start Method %u not supported\n",