]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.h
0876ea355e12a60ecfb442872cbfcb69934ae9bb
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Fadt / Fadt.h
1 /** @file
2 This file describes the contents of the ACPI Fixed ACPI Description Table (FADT)
3 . Some additional ACPI values are defined in Acpi10.h, Acpi20.h, and Acpi30.h
4 All changes to the FADT contents should be done in this file.
5
6 Copyright (c) 2013-2015 Intel Corporation.
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef _FADT_H_
13 #define _FADT_H_
14
15 //
16 // Statements that include other files
17 //
18 #include <IndustryStandard/Acpi.h>
19
20 //
21 // ACPI table information used to initialize tables.
22 //
23 #define EFI_ACPI_OEM_ID 'I','N','T','E','L',' ' // OEMID 6 bytes long
24 #define EFI_ACPI_OEM_TABLE_ID SIGNATURE_64('T','I','A','N','O',' ',' ',' ') // OEM table id 8 bytes long
25 #define EFI_ACPI_OEM_REVISION 0x00000004
26 #define EFI_ACPI_CREATOR_ID SIGNATURE_32('I','N','T','L')
27 #define EFI_ACPI_CREATOR_REVISION 0x0100000D
28
29 //
30 // FADT Definitions
31 //
32 #define PM_PROFILE 0x01
33 #define INT_MODEL 0x01
34 #define SCI_INT_VECTOR 0x0009
35 #define ACPI_ENABLE 0x0a0
36 #define ACPI_DISABLE 0x0a1
37 #define S4BIOS_REQ 0x00
38 #define PM1_EVT_LEN 0x04
39 #define PM1_CNT_LEN 0x02
40 #define PM2_CNT_LEN 0x00
41 #define PM_TM_LEN 0x04
42 #define GPE0_BLK_LEN 0x08
43 #define GPE1_BLK_LEN 0x00
44 #define GPE1_BASE 0x00
45 #define RESERVED 0x00
46 #define P_LVL2_LAT 0x0065
47 #define P_LVL3_LAT 0x03e9
48 #define FLUSH_SIZE 0x0400
49 #define FLUSH_STRIDE 0x0010
50 #define DUTY_OFFSET 0x01
51 #define DUTY_WIDTH 0x03
52 #define DAY_ALRM 0x00
53 #define MON_ALRM 0x00
54 #define CENTURY 0x00
55 #define IAPC_BOOT_ARCH EFI_ACPI_2_0_LEGACY_DEVICES
56 #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)
57 #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)
58
59 #define RESET_REG_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
60 #define RESET_REG_BIT_WIDTH 0x08
61 #define RESET_REG_BIT_OFFSET 0x00
62 #define RESET_REG_ADDRESS 0x0000000000000CF9
63 #define RESET_VALUE 0x02
64
65 #define ACPI_RUNTIME_UPDATE 0x00
66
67 #define PM1a_EVT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
68 #define PM1a_EVT_BLK_BIT_WIDTH 0x20
69 #define PM1a_EVT_BLK_BIT_OFFSET 0x00
70
71 #define PM1b_EVT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
72 #define PM1b_EVT_BLK_BIT_WIDTH 0x00
73 #define PM1b_EVT_BLK_BIT_OFFSET 0x00
74 #define PM1b_EVT_BLK_ADDRESS 0x0000000000000000
75
76 #define PM1a_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
77 #define PM1a_CNT_BLK_BIT_WIDTH 0x10
78 #define PM1a_CNT_BLK_BIT_OFFSET 0x00
79
80 #define PM1b_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
81 #define PM1b_CNT_BLK_BIT_WIDTH 0x00
82 #define PM1b_CNT_BLK_BIT_OFFSET 0x00
83 #define PM1b_CNT_BLK_ADDRESS 0x0000000000000000
84
85 #define PM2_CNT_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
86 #define PM2_CNT_BLK_BIT_WIDTH 0x00
87 #define PM2_CNT_BLK_BIT_OFFSET 0x00
88 #define PM2_CNT_BLK_ADDRESS 0x0000000000000000
89
90 #define PM_TMR_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
91 #define PM_TMR_BLK_BIT_WIDTH 0x20
92 #define PM_TMR_BLK_BIT_OFFSET 0x00
93
94 #define GPE0_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
95 #define GPE0_BLK_BIT_WIDTH 0x40
96 #define GPE0_BLK_BIT_OFFSET 0x00
97
98 #define GPE1_BLK_ADDRESS_SPACE_ID EFI_ACPI_2_0_SYSTEM_IO
99 #define GPE1_BLK_BIT_WIDTH 0x00
100 #define GPE1_BLK_BIT_OFFSET 0x00
101 #define GPE1_BLK_ADDRESS 0x0000000000000000
102 #endif