]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Hpet: Add Event Timer Block ID definition.
authorMarvin.Haeuser@outlook.com <Marvin.Haeuser@outlook.com>
Thu, 17 May 2018 12:41:38 +0000 (20:41 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 28 May 2018 05:04:56 +0000 (13:04 +0800)
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>
MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h

index 0d83cd5335de8ab832a2e0c773e4fb357fa7c318..6218a77c543c80453f53cbae293bfee80fea9d52 100644 (file)
 //\r
 #pragma pack(1)\r
 \r
 //\r
 #pragma pack(1)\r
 \r
+///\r
+/// HPET Event Timer Block ID described in IA-PC HPET Specification, 3.2.4.\r
+///\r
+typedef union {\r
+  struct {\r
+    UINT32 Revision       : 8;\r
+    UINT32 NumberOfTimers : 5;\r
+    UINT32 CounterSize    : 1;\r
+    UINT32 Reserved       : 1;\r
+    UINT32 LegacyRoute    : 1;\r
+    UINT32 VendorId       : 16;\r
+  }      Bits;\r
+  UINT32 Uint32;\r
+} EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID;\r
+\r
+\r
 ///\r
 /// High Precision Event Timer Table header definition.\r
 ///\r
 ///\r
 /// High Precision Event Timer Table header definition.\r
 ///\r