diff options
author | Abdul Lateef Attar <AbdulLateef.Attar@amd.com> | 2024-08-29 14:28:17 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-02 14:23:41 +0000 |
commit | 5dafa13d623a764648221ebb644f880c3cb1198f (patch) | |
tree | bb5a44b203a5cdc04f1f3f575ba01f5e5c710221 /DynamicTablesPkg/Include | |
parent | a5f543272899fcf3b04e0665ba87164fb19f564a (diff) | |
download | edk2-5dafa13d623a764648221ebb644f880c3cb1198f.tar.gz edk2-5dafa13d623a764648221ebb644f880c3cb1198f.tar.bz2 edk2-5dafa13d623a764648221ebb644f880c3cb1198f.zip |
DynamicTablesPkg: Adds WSMT generator for X64
Adds ACPI WSMT table generator library.
Updates acpi standard table enum with wsmt.
Updates X64 namespace object.
Updates the object parser.
Updates the Readme.
Cc: Sami Mujawar <Sami.Mujawar@arm.com>
Cc: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Diffstat (limited to 'DynamicTablesPkg/Include')
-rw-r--r-- | DynamicTablesPkg/Include/AcpiTableGenerator.h | 4 | ||||
-rw-r--r-- | DynamicTablesPkg/Include/X64NameSpaceObjects.h | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/DynamicTablesPkg/Include/AcpiTableGenerator.h b/DynamicTablesPkg/Include/AcpiTableGenerator.h index 778a908bcd..761a5ec6d3 100644 --- a/DynamicTablesPkg/Include/AcpiTableGenerator.h +++ b/DynamicTablesPkg/Include/AcpiTableGenerator.h @@ -2,6 +2,7 @@ Copyright (c) 2017 - 2022, Arm Limited. All rights reserved.<BR>
Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.<BR>
+ Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -72,6 +73,8 @@ The Dynamic Tables Framework implements the following ACPI table generators: The SSDT Pci Express generator collates the Pci Express
information from the Configuration Manager and generates a
SSDT table describing a Pci Express bus.
+ - WSMT : The WSMT generator collates the WSMT protection flag information
+ from the Configuration Manager and builds the WSMT table.
*/
/** The ACPI_TABLE_GENERATOR_ID type describes ACPI table generator ID.
@@ -101,6 +104,7 @@ typedef enum StdAcpiTableId { EStdAcpiTableIdSsdtPciExpress, ///< SSDT Pci Express Generator
EStdAcpiTableIdPcct, ///< PCCT Generator
EStdAcpiTableIdTpm2, ///< TPM2 Generator
+ EStdAcpiTableIdWsmt, ///< WSMT Generator
EStdAcpiTableIdMax
} ESTD_ACPI_TABLE_ID;
diff --git a/DynamicTablesPkg/Include/X64NameSpaceObjects.h b/DynamicTablesPkg/Include/X64NameSpaceObjects.h index 2fa696b4c3..d897051d88 100644 --- a/DynamicTablesPkg/Include/X64NameSpaceObjects.h +++ b/DynamicTablesPkg/Include/X64NameSpaceObjects.h @@ -30,8 +30,9 @@ typedef enum X64ObjectID { EX64ObjFadtXgpeBlockInfo, ///< 6 - FADT 64-bit GPE block info
EX64ObjFadtSleepBlockInfo, ///< 7 - FADT Sleep block info
EX64ObjFadtResetBlockInfo, ///< 8 - FADT Reset block info
- EX64ObjFadtMiscInfo, ///< 0 - FADT Legacy fields info
- EX64ObjMax ///< 10 - Maximum Object ID
+ EX64ObjFadtMiscInfo, ///< 9 - FADT Legacy fields info
+ EX64ObjWsmtFlagsInfo, ///< 10 - WSMT protection flags info
+ EX64ObjMax ///< 11 - Maximum Object ID
} EX64_OBJECT_ID;
/** A structure that describes the
@@ -167,4 +168,13 @@ typedef struct CmX64FadtFadtMiscInfo { UINT8 Century;
} CM_X64_FADT_MISC_INFO;
+/**
+ A structure that describes the WSMT protection flags information.
+
+ ID: EX64ObjWsmtFlagsInfo
+*/
+typedef struct CmX64WsmtFlagsInfo {
+ UINT32 ProtectionFlags;
+} CM_X64_WSMT_FLAGS_INFO;
+
#endif // X64_NAMESPACE_OBJECTS_H_
|