2 * Fixed ACPI Description Table (FADT)
4 * Copyright (c) 2012 - 2014, ARM Limited. All rights reserved.
6 * This program and the accompanying materials
7 * are licensed and made available under the terms and conditions of the BSD License
8 * which accompanies this distribution. The full text of the license may be found at
9 * http://opensource.org/licenses/bsd-license.php
11 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include "ArmPlatform.h"
17 #include <Library/AcpiLib.h>
18 #include <IndustryStandard/Acpi.h>
20 EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE Fadt = {
22 EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE,
23 EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE,
24 EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION
26 0, // UINT32 FirmwareCtrl
28 EFI_ACPI_RESERVED_BYTE, // UINT8 Reserved0
29 EFI_ACPI_5_0_PM_PROFILE_UNSPECIFIED, // UINT8 PreferredPmProfile
32 0, // UINT8 AcpiEnable
33 0, // UINT8 AcpiDisable
36 0, // UINT32 Pm1aEvtBlk
37 0, // UINT32 Pm1bEvtBlk
38 0, // UINT32 Pm1aCntBlk
39 0, // UINT32 Pm1bCntBlk
40 0, // UINT32 Pm2CntBlk
48 0, // UINT8 Gpe0BlkLen
49 0, // UINT8 Gpe1BlkLen
54 0, // UINT16 FlushSize
55 0, // UINT16 FlushStride
56 0, // UINT8 DutyOffset
61 0, // UINT16 IaPcBootArch
63 EFI_ACPI_5_0_HW_REDUCED_ACPI | EFI_ACPI_5_0_LOW_POWER_S0_IDLE_CAPABLE, // UINT32 Flags
64 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE ResetReg
65 0, // UINT8 ResetValue
66 {EFI_ACPI_RESERVED_BYTE,EFI_ACPI_RESERVED_BYTE,EFI_ACPI_RESERVED_BYTE}, // UINT8 Reserved2[3]
67 0, // UINT64 XFirmwareCtrl
69 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk
70 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk
71 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk
72 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk
73 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk
74 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk
75 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe0Blk
76 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe1Blk
77 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepControlReg
78 NULL_GAS // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepStatusReg
87 // Reference the table being generated to prevent the optimizer from removing the
88 // data structure from the executable