]>
Commit | Line | Data |
---|---|---|
b303605e MK |
1 | /** @file\r |
2 | This file describes the contents of the ACPI Fixed ACPI Description Table (FADT)\r | |
3 | . Some additional ACPI values are defined in Acpi10.h, Acpi20.h, and Acpi30.h\r | |
4 | All changes to the FADT contents should be done in this file.\r | |
5 | \r | |
6 | Copyright (c) 2013-2015 Intel Corporation.\r | |
7 | \r | |
8 | This program and the accompanying materials\r | |
9 | are licensed and made available under the terms and conditions of the BSD License\r | |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
16 | **/\r | |
17 | \r | |
18 | #ifndef _FADT_H_\r | |
19 | #define _FADT_H_\r | |
20 | \r | |
21 | //\r | |
22 | // Statements that include other files\r | |
23 | //\r | |
24 | #include <IndustryStandard/Acpi.h>\r | |
25 | \r | |
26 | //\r | |
27 | // ACPI table information used to initialize tables.\r | |
28 | //\r | |
29 | #define EFI_ACPI_OEM_ID 'I','N','T','E','L',' ' // OEMID 6 bytes long\r | |
30 | #define EFI_ACPI_OEM_TABLE_ID SIGNATURE_64('T','I','A','N','O',' ',' ',' ') // OEM table id 8 bytes long\r | |
31 | #define EFI_ACPI_OEM_REVISION 0x00000004\r | |
32 | #define EFI_ACPI_CREATOR_ID SIGNATURE_32('I','N','T','L')\r | |
33 | #define EFI_ACPI_CREATOR_REVISION 0x0100000D\r | |
34 | \r | |
35 | //\r | |
36 | // FADT Definitions\r | |
37 | //\r | |
38 | #define PM_PROFILE 0x01\r | |
39 | #define INT_MODEL 0x01\r | |
40 | #define SCI_INT_VECTOR 0x0009\r | |
41 | #define ACPI_ENABLE 0x0a0\r | |
42 | #define ACPI_DISABLE 0x0a1\r | |
43 | #define S4BIOS_REQ 0x00\r | |
44 | #define PM1_EVT_LEN 0x04\r | |
45 | #define PM1_CNT_LEN 0x02\r | |
46 | #define PM2_CNT_LEN 0x00\r | |
47 | #define PM_TM_LEN 0x04\r | |
48 | #define GPE0_BLK_LEN 0x08\r | |
49 | #define GPE1_BLK_LEN 0x00\r | |
50 | #define GPE1_BASE 0x00\r | |
51 | #define RESERVED 0x00\r | |
52 | #define P_LVL2_LAT 0x0065\r | |
53 | #define P_LVL3_LAT 0x03e9\r | |
54 | #define FLUSH_SIZE 0x0400\r | |
55 | #define FLUSH_STRIDE 0x0010\r | |
56 | #define DUTY_OFFSET 0x01\r | |
57 | #define DUTY_WIDTH 0x03\r | |
58 | #define DAY_ALRM 0x00\r | |
59 | #define MON_ALRM 0x00\r | |
60 | #define CENTURY 0x00\r | |
61 | #define IAPC_BOOT_ARCH EFI_ACPI_2_0_LEGACY_DEVICES\r | |
62 | #define FLAG (EFI_ACPI_1_0_WBINVD | EFI_ACPI_1_0_PROC_C1 | EFI_ACPI_1_0_SLP_BUTTON | EFI_ACPI_1_0_RTC_S4)\r | |
63 | #define FLAG2 (EFI_ACPI_2_0_WBINVD | EFI_ACPI_2_0_PROC_C1 | EFI_ACPI_2_0_PWR_BUTTON | EFI_ACPI_2_0_SLP_BUTTON | EFI_ACPI_2_0_RTC_S4 | EFI_ACPI_2_0_RESET_REG_SUP | EFI_ACPI_3_0_USE_PLATFORM_CLOCK)\r | |
64 | \r | |
65 | #define RESET_REG_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
66 | #define RESET_REG_BIT_WIDTH 0x08\r | |
67 | #define RESET_REG_BIT_OFFSET 0x00\r | |
68 | #define RESET_REG_ADDRESS 0x0000000000000CF9\r | |
69 | #define RESET_VALUE 0x02\r | |
70 | \r | |
71 | #define ACPI_RUNTIME_UPDATE 0x00\r | |
72 | \r | |
73 | #define PM1a_EVT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
74 | #define PM1a_EVT_BLK_BIT_WIDTH 0x20\r | |
75 | #define PM1a_EVT_BLK_BIT_OFFSET 0x00\r | |
76 | \r | |
77 | #define PM1b_EVT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
78 | #define PM1b_EVT_BLK_BIT_WIDTH 0x00\r | |
79 | #define PM1b_EVT_BLK_BIT_OFFSET 0x00\r | |
80 | #define PM1b_EVT_BLK_ADDRESS 0x0000000000000000\r | |
81 | \r | |
82 | #define PM1a_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
83 | #define PM1a_CNT_BLK_BIT_WIDTH 0x10\r | |
84 | #define PM1a_CNT_BLK_BIT_OFFSET 0x00\r | |
85 | \r | |
86 | #define PM1b_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
87 | #define PM1b_CNT_BLK_BIT_WIDTH 0x00\r | |
88 | #define PM1b_CNT_BLK_BIT_OFFSET 0x00\r | |
89 | #define PM1b_CNT_BLK_ADDRESS 0x0000000000000000\r | |
90 | \r | |
91 | #define PM2_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
92 | #define PM2_CNT_BLK_BIT_WIDTH 0x00\r | |
93 | #define PM2_CNT_BLK_BIT_OFFSET 0x00\r | |
94 | #define PM2_CNT_BLK_ADDRESS 0x0000000000000000\r | |
95 | \r | |
96 | #define PM_TMR_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
97 | #define PM_TMR_BLK_BIT_WIDTH 0x20\r | |
98 | #define PM_TMR_BLK_BIT_OFFSET 0x00\r | |
99 | \r | |
100 | #define GPE0_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
101 | #define GPE0_BLK_BIT_WIDTH 0x40\r | |
102 | #define GPE0_BLK_BIT_OFFSET 0x00\r | |
103 | \r | |
104 | #define GPE1_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO\r | |
105 | #define GPE1_BLK_BIT_WIDTH 0x00\r | |
106 | #define GPE1_BLK_BIT_OFFSET 0x00\r | |
107 | #define GPE1_BLK_ADDRESS 0x0000000000000000\r | |
108 | #endif\r |