mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
ShellPkg: AcpiView: TPM2 parser for Arm FF-A
Add support for the ARM FF-A Start Method Specific Parameters to the TPM2 parser Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
This commit is contained in:
parent
14f5e9b098
commit
8593eca048
@ -56,6 +56,16 @@ STATIC CONST ACPI_PARSER Tpm2StartMethodArmSmc[] = {
|
||||
{ L"SMC/HVC Function ID", 4, 8, L"0x%x", NULL, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
/**
|
||||
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
|
||||
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user