summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorMarvin.Haeuser@outlook.com <Marvin.Haeuser@outlook.com>2018-05-17 20:41:38 +0800
committerLiming Gao <liming.gao@intel.com>2018-05-28 13:04:56 +0800
commitc9734786da91a545bcaea16b04fbbcd3a507a8ef (patch)
tree2bbf2a0bb5df9976ace9e62ea86f12fbc3f86533 /MdePkg
parent20274d2389eb012812f4561c8eb7cffc57a68850 (diff)
downloadedk2-c9734786da91a545bcaea16b04fbbcd3a507a8ef.tar.gz
edk2-c9734786da91a545bcaea16b04fbbcd3a507a8ef.tar.bz2
edk2-c9734786da91a545bcaea16b04fbbcd3a507a8ef.zip
MdePkg/Hpet: Add Event Timer Block ID definition.
This patch adds the HPET Event Timer Block ID definition that can be found in the IA-PC HPET Specification, section 3.2.4. V2: - Do not change the copyright date as requested. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
index 0d83cd5335..6218a77c54 100644
--- a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
+++ b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
@@ -23,6 +23,22 @@
#pragma pack(1)
///
+/// HPET Event Timer Block ID described in IA-PC HPET Specification, 3.2.4.
+///
+typedef union {
+ struct {
+ UINT32 Revision : 8;
+ UINT32 NumberOfTimers : 5;
+ UINT32 CounterSize : 1;
+ UINT32 Reserved : 1;
+ UINT32 LegacyRoute : 1;
+ UINT32 VendorId : 16;
+ } Bits;
+ UINT32 Uint32;
+} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;
+
+
+///
/// High Precision Event Timer Table header definition.
///
typedef struct {