1/** @file 2* Fixed ACPI Description Table (FADT) 3* 4* Copyright (c) 2012 - 2014, ARM Limited. All rights reserved. 5* Copyright (c) 2015, Hisilicon Limited. All rights reserved. 6* Copyright (c) 2015, Linaro Limited. All rights reserved. 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* Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/ 17* 18**/ 19 20//#include "ArmPlatform.h" 21#include "Pv660Platform.h" 22 23#include <Library/AcpiLib.h> 24#include <IndustryStandard/Acpi.h> 25 26EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE Fadt = { 27 ARM_ACPI_HEADER ( 28 EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE, 29 EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE, 30 EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 31 ), 32 0, // UINT32 FirmwareCtrl 33 0, // UINT32 Dsdt 34 EFI_ACPI_RESERVED_BYTE, // UINT8 Reserved0 35 EFI_ACPI_5_0_PM_PROFILE_UNSPECIFIED, // UINT8 PreferredPmProfile 36 0, // UINT16 SciInt 37 0, // UINT32 SmiCmd 38 0, // UINT8 AcpiEnable 39 0, // UINT8 AcpiDisable 40 0, // UINT8 S4BiosReq 41 0, // UINT8 PstateCnt 42 0, // UINT32 Pm1aEvtBlk 43 0, // UINT32 Pm1bEvtBlk 44 0, // UINT32 Pm1aCntBlk 45 0, // UINT32 Pm1bCntBlk 46 0, // UINT32 Pm2CntBlk 47 0, // UINT32 PmTmrBlk 48 0, // UINT32 Gpe0Blk 49 0, // UINT32 Gpe1Blk 50 0, // UINT8 Pm1EvtLen 51 0, // UINT8 Pm1CntLen 52 0, // UINT8 Pm2CntLen 53 0, // UINT8 PmTmrLen 54 0, // UINT8 Gpe0BlkLen 55 0, // UINT8 Gpe1BlkLen 56 0, // UINT8 Gpe1Base 57 0, // UINT8 CstCnt 58 0, // UINT16 PLvl2Lat 59 0, // UINT16 PLvl3Lat 60 0, // UINT16 FlushSize 61 0, // UINT16 FlushStride 62 0, // UINT8 DutyOffset 63 0, // UINT8 DutyWidth 64 0, // UINT8 DayAlrm 65 0, // UINT8 MonAlrm 66 0, // UINT8 Century 67 0, // UINT16 IaPcBootArch 68 0, // UINT8 Reserved1 69 EFI_ACPI_5_0_HW_REDUCED_ACPI | EFI_ACPI_5_0_LOW_POWER_S0_IDLE_CAPABLE, // UINT32 Flags 70 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE ResetReg 71 0, // UINT8 ResetValue 72 EFI_ACPI_5_1_ARM_PSCI_COMPLIANT, // UINT16 ArmBootArchFlags 73 EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION, // UINT8 MinorRevision 74 0, // UINT64 XFirmwareCtrl 75 0, // UINT64 XDsdt 76 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk 77 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk 78 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk 79 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk 80 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk 81 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk 82 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe0Blk 83 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe1Blk 84 NULL_GAS, // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepControlReg 85 NULL_GAS // EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepStatusReg 86}; 87 88// 89// Reference the table being generated to prevent the optimizer from removing the 90// data structure from the executable 91// 92VOID* CONST ReferenceAcpiTable = &Fadt; 93