diff options
author | Dat Mach <dmach@nvidia.com> | 2024-07-08 16:50:38 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-08 01:52:47 +0000 |
commit | 2bff58935f21749cd282b74869a71f94ea9d40ec (patch) | |
tree | 184b56a8349bcd6b4738929ac44674e7b6c90ede /MdePkg | |
parent | ab6ad2fbdbaad1eb3a766973d6f587685d784d48 (diff) | |
download | edk2-2bff58935f21749cd282b74869a71f94ea9d40ec.tar.gz edk2-2bff58935f21749cd282b74869a71f94ea9d40ec.tar.bz2 edk2-2bff58935f21749cd282b74869a71f94ea9d40ec.zip |
MdePkg: Tpm2Acpi.h: Max size for Parameters field
Define macro for the max size of the Start Method Specific Paramemeters
field.
Signed-off-by: Dat Mach <dmach@nvidia.com>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h index e7d14f9d2e..882e21dfe5 100644 --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h @@ -3,6 +3,7 @@ Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved. <BR>
Copyright (c) 2021, Ampere Computing LLC. All rights reserved. <BR>
+Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -18,6 +19,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define EFI_TPM2_ACPI_TABLE_REVISION_4 4
#define EFI_TPM2_ACPI_TABLE_REVISION EFI_TPM2_ACPI_TABLE_REVISION_4
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_SPECIFIC_PARAMETERS_MAX_SIZE_REVISION_4 12
+#define EFI_TPM2_ACPI_TABLE_START_METHOD_SPECIFIC_PARAMETERS_MAX_SIZE EFI_TPM2_ACPI_TABLE_START_METHOD_SPECIFIC_PARAMETERS_MAX_SIZE_REVISION_4
+
typedef struct {
EFI_ACPI_DESCRIPTION_HEADER Header;
// Flags field is replaced in version 4 and above
|