1/** @file 2* Fixed ACPI Description Table (FADT) 3* 4* Copyright (c) 2012 - 2016, ARM Limited. All rights reserved. 5* 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 10* 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. 13* 14**/ 15 16#include "FvpPlatform.h" 17#include <Library/AcpiLib.h> 18#include <IndustryStandard/Acpi.h> 19 20EFI_ACPI_6_1_FIXED_ACPI_DESCRIPTION_TABLE Fadt = { 21 ARM_ACPI_HEADER ( 22 EFI_ACPI_6_1_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE, 23 EFI_ACPI_6_1_FIXED_ACPI_DESCRIPTION_TABLE, 24 EFI_ACPI_6_1_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 25 ), 26 0, // UINT32 FirmwareCtrl 27 0, // UINT32 Dsdt 28 EFI_ACPI_RESERVED_BYTE, // UINT8 Reserved0 29 EFI_ACPI_6_1_PM_PROFILE_UNSPECIFIED, // UINT8 PreferredPmProfile 30 0, // UINT16 SciInt 31 0, // UINT32 SmiCmd 32 0, // UINT8 AcpiEnable 33 0, // UINT8 AcpiDisable 34 0, // UINT8 S4BiosReq 35 0, // UINT8 PstateCnt 36 0, // UINT32 Pm1aEvtBlk 37 0, // UINT32 Pm1bEvtBlk 38 0, // UINT32 Pm1aCntBlk 39 0, // UINT32 Pm1bCntBlk 40 0, // UINT32 Pm2CntBlk 41 0, // UINT32 PmTmrBlk 42 0, // UINT32 Gpe0Blk 43 0, // UINT32 Gpe1Blk 44 0, // UINT8 Pm1EvtLen 45 0, // UINT8 Pm1CntLen 46 0, // UINT8 Pm2CntLen 47 0, // UINT8 PmTmrLen 48 0, // UINT8 Gpe0BlkLen 49 0, // UINT8 Gpe1BlkLen 50 0, // UINT8 Gpe1Base 51 0, // UINT8 CstCnt 52 0, // UINT16 PLvl2Lat 53 0, // UINT16 PLvl3Lat 54 0, // UINT16 FlushSize 55 0, // UINT16 FlushStride 56 0, // UINT8 DutyOffset 57 0, // UINT8 DutyWidth 58 0, // UINT8 DayAlrm 59 0, // UINT8 MonAlrm 60 0, // UINT8 Century 61 0, // UINT16 IaPcBootArch 62 0, // UINT8 Reserved1 63 EFI_ACPI_6_1_HW_REDUCED_ACPI | EFI_ACPI_6_1_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_6_1_ARM_PSCI_COMPLIANT, // UINT16 ArmBootArchFlags 67 EFI_ACPI_6_1_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION, // UINT8 MinorRevision 68 0, // UINT64 XFirmwareCtrl 69 0, // UINT64 XDsdt 70 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk 71 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk 72 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk 73 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk 74 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk 75 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk 76 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe0Blk 77 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe1Blk 78 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepControlReg 79 NULL_GAS // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepStatusReg 80}; 81 82// 83// Reference the table being generated to prevent the optimizer from removing the 84// data structure from the executable 85// 86VOID* CONST ReferenceAcpiTable = &Fadt; 87