]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
MdePkg: TpmPtp: Add CapCRBIdleBypass definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / HighPrecisionEventTimerTable.h
index bb6c25740e2d5e8d28267c772b6a0ad1ab411c9b..6218a77c543c80453f53cbae293bfee80fea9d52 100644 (file)
@@ -2,8 +2,8 @@
   ACPI high precision event timer table definition, at www.intel.com\r
   Specification name is IA-PC HPET (High Precision Event Timers) Specification.\r
     \r
-  Copyright (c) 2007 - 2008, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   http://opensource.org/licenses/bsd-license.php                                            \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
@@ -34,8 +50,6 @@ typedef struct {
   UINT8                                   PageProtectionAndOemAttribute;\r
 } EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER;\r
 \r
-#pragma pack()\r
-\r
 ///\r
 /// HPET Revision (defined in spec)\r
 ///\r
@@ -49,4 +63,6 @@ typedef struct {
 #define EFI_ACPI_4KB_PAGE_PROTECTION  1\r
 #define EFI_ACPI_64KB_PAGE_PROTECTION 2\r
 \r
+#pragma pack()\r
+\r
 #endif\r