]>
Commit | Line | Data |
---|---|---|
18b84857 | 1 | /** @file\r |
ca162103 | 2 | \r |
b1f700a8 HT |
3 | Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
ca162103 | 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 | AcpiDescription.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | \r | |
19 | GUIDs used for ACPI Description\r | |
20 | \r | |
18b84857 | 21 | **/\r |
ca162103 | 22 | \r |
23 | #ifndef _EFI_ACPI_DESCRIPTION_H_\r | |
24 | #define _EFI_ACPI_DESCRIPTION_H_\r | |
25 | \r | |
0e047a2a RN |
26 | #include <IndustryStandard/Acpi.h>\r |
27 | \r | |
ca162103 | 28 | #define EFI_ACPI_DESCRIPTION_GUID \\r |
29 | { \\r | |
4b869fed | 30 | 0x3c699197, 0x93c, 0x4c69, {0xb0, 0x6b, 0x12, 0x8a, 0xe3, 0x48, 0x1d, 0xc9} \\r |
ca162103 | 31 | }\r |
32 | \r | |
ca162103 | 33 | //\r |
34 | // Following structure defines ACPI Description information.\r | |
35 | // This information is platform specific, may be consumed by DXE generic driver.\r | |
36 | //\r | |
37 | #pragma pack(1)\r | |
38 | typedef struct _EFI_ACPI_DESCRIPTION {\r | |
39 | //\r | |
40 | // For Timer\r | |
41 | //\r | |
0e047a2a | 42 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM_TMR_BLK;\r |
ca162103 | 43 | UINT8 PM_TMR_LEN;\r |
44 | UINT8 TMR_VAL_EXT;\r | |
45 | \r | |
46 | //\r | |
47 | // For RTC\r | |
48 | //\r | |
49 | UINT8 DAY_ALRM;\r | |
50 | UINT8 MON_ALRM;\r | |
51 | UINT8 CENTURY;\r | |
52 | \r | |
53 | //\r | |
54 | // For Reset\r | |
55 | //\r | |
0e047a2a | 56 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE RESET_REG;\r |
ca162103 | 57 | UINT8 RESET_VALUE;\r |
58 | \r | |
59 | //\r | |
60 | // For Shutdown\r | |
61 | //\r | |
0e047a2a RN |
62 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM1a_EVT_BLK;\r |
63 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM1b_EVT_BLK;\r | |
64 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM1a_CNT_BLK;\r | |
65 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM1b_CNT_BLK;\r | |
66 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PM2_CNT_BLK;\r | |
ca162103 | 67 | UINT8 PM1_EVT_LEN;\r |
68 | UINT8 PM1_CNT_LEN;\r | |
69 | UINT8 PM2_CNT_LEN;\r | |
70 | UINT8 SLP_TYPa;\r | |
71 | UINT8 SLP_TYPb;\r | |
72 | \r | |
73 | //\r | |
74 | // For sleep\r | |
75 | //\r | |
76 | UINT8 SLP1_TYPa;\r | |
77 | UINT8 SLP1_TYPb;\r | |
78 | UINT8 SLP2_TYPa;\r | |
79 | UINT8 SLP2_TYPb;\r | |
80 | UINT8 SLP3_TYPa;\r | |
81 | UINT8 SLP3_TYPb;\r | |
82 | UINT8 SLP4_TYPa;\r | |
83 | UINT8 SLP4_TYPb;\r | |
84 | \r | |
85 | //\r | |
86 | // GPE\r | |
87 | //\r | |
0e047a2a RN |
88 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE GPE0_BLK;\r |
89 | EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE GPE1_BLK;\r | |
ca162103 | 90 | UINT8 GPE0_BLK_LEN;\r |
91 | UINT8 GPE1_BLK_LEN;\r | |
92 | UINT8 GPE1_BASE;\r | |
93 | \r | |
94 | //\r | |
95 | // IAPC Boot Arch\r | |
96 | //\r | |
97 | UINT16 IAPC_BOOT_ARCH;\r | |
98 | \r | |
99 | //\r | |
100 | // Flags\r | |
101 | //\r | |
102 | UINT32 Flags;\r | |
103 | \r | |
104 | } EFI_ACPI_DESCRIPTION;\r | |
105 | #pragma pack()\r | |
106 | \r | |
107 | extern EFI_GUID gEfiAcpiDescriptionGuid;\r | |
108 | \r | |
109 | #endif\r |