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
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
#define EFI_ACPI_4KB_PAGE_PROTECTION 1\r
#define EFI_ACPI_64KB_PAGE_PROTECTION 2\r
\r
+#pragma pack()\r
+\r
#endif\r