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