]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | HighPrecisionEventTimerTable.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | ACPI high precision event timer table definition, defined at \r | |
19 | Intel IA-PC HPET (High Precision Event Timers) Specification.\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
23 | #ifndef _HIGH_PRECISION_EVENT_TIMER_TABLE_H_\r | |
24 | #define _HIGH_PRECISION_EVENT_TIMER_TABLE_H_\r | |
25 | \r | |
26 | //\r | |
27 | // Include files\r | |
28 | //\r | |
29 | #include "Acpi2_0.h"\r | |
30 | \r | |
31 | //\r | |
32 | // Ensure proper structure formats\r | |
33 | //\r | |
34 | #pragma pack(1)\r | |
35 | //\r | |
36 | // High Precision Event Timer Table header definition.\r | |
37 | //\r | |
38 | typedef struct {\r | |
39 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
40 | UINT32 EventTimerBlockId;\r | |
41 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddressLower32Bit;\r | |
42 | UINT8 HpetNumber;\r | |
43 | UINT16 MainCounterMinimumClockTickInPeriodicMode;\r | |
44 | UINT8 PageProtectionAndOemAttribute;\r | |
45 | } EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER;\r | |
46 | \r | |
47 | //\r | |
48 | // HPET Revision (defined in spec)\r | |
49 | //\r | |
50 | #define EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_REVISION 0x01\r | |
51 | \r | |
52 | //\r | |
53 | // Page protection setting\r | |
54 | // Values 3 through 15 are reserved for use by the specification\r | |
55 | //\r | |
56 | #define EFI_ACPI_NO_PAGE_PROTECTION 0\r | |
57 | #define EFI_ACPI_4KB_PAGE_PROTECTION 1\r | |
58 | #define EFI_ACPI_64KB_PAGE_PROTECTION 2\r | |
59 | \r | |
60 | #pragma pack()\r | |
61 | \r | |
62 | #endif\r |