diff options
author | Abdul Lateef Attar <AbdulLateef.Attar@amd.com> | 2024-09-03 09:46:36 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-18 07:53:07 +0000 |
commit | fada1cea46a80b5585af0e842b6870514c5eaf09 (patch) | |
tree | 4133ef782b849eb7200b28da2b8ca57f54f39ca5 /DynamicTablesPkg/Include | |
parent | 21e8a85653e104385bfb8218fe22a72053bd3d2d (diff) | |
download | edk2-fada1cea46a80b5585af0e842b6870514c5eaf09.tar.gz edk2-fada1cea46a80b5585af0e842b6870514c5eaf09.tar.bz2 edk2-fada1cea46a80b5585af0e842b6870514c5eaf09.zip |
DynamicTablesPkg: Adds ACPI HPET table generator
Adds X64 ACPI HPET table generator library.
Updates acpi standard table enum with hpet.
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 | 1 | ||||
-rw-r--r-- | DynamicTablesPkg/Include/X64NameSpaceObjects.h | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Include/AcpiTableGenerator.h b/DynamicTablesPkg/Include/AcpiTableGenerator.h index d4ad603e2b..8923fefd54 100644 --- a/DynamicTablesPkg/Include/AcpiTableGenerator.h +++ b/DynamicTablesPkg/Include/AcpiTableGenerator.h @@ -105,6 +105,7 @@ typedef enum StdAcpiTableId { EStdAcpiTableIdPcct, ///< PCCT Generator
EStdAcpiTableIdTpm2, ///< TPM2 Generator
EStdAcpiTableIdWsmt, ///< WSMT Generator
+ EStdAcpiTableIdHpet, ///< HPET Generator
EStdAcpiTableIdMax
} ESTD_ACPI_TABLE_ID;
diff --git a/DynamicTablesPkg/Include/X64NameSpaceObjects.h b/DynamicTablesPkg/Include/X64NameSpaceObjects.h index d897051d88..f153461be0 100644 --- a/DynamicTablesPkg/Include/X64NameSpaceObjects.h +++ b/DynamicTablesPkg/Include/X64NameSpaceObjects.h @@ -32,7 +32,8 @@ typedef enum X64ObjectID { EX64ObjFadtResetBlockInfo, ///< 8 - FADT Reset block info
EX64ObjFadtMiscInfo, ///< 9 - FADT Legacy fields info
EX64ObjWsmtFlagsInfo, ///< 10 - WSMT protection flags info
- EX64ObjMax ///< 11 - Maximum Object ID
+ EX64ObjHpetInfo, ///< 11 - HPET device info
+ EX64ObjMax ///< 12 - Maximum Object ID
} EX64_OBJECT_ID;
/** A structure that describes the
@@ -177,4 +178,14 @@ typedef struct CmX64WsmtFlagsInfo { UINT32 ProtectionFlags;
} CM_X64_WSMT_FLAGS_INFO;
+/**
+ A structure that describes the HPET device information.
+
+ ID: EX64ObjHpetInfo
+*/
+typedef struct CmX64HpetInfo {
+ UINT32 BaseAddressLower32Bit;
+ UINT16 MainCounterMinimumClockTickInPeriodicMode;
+ UINT8 PageProtectionAndOemAttribute;
+} CM_X64_HPET_INFO;
#endif // X64_NAMESPACE_OBJECTS_H_
|