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