TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmFadtGenerator.c File Reference

Go to the source code of this file.

Macros

#define FADT_FLAGS
 

Functions

 GET_OBJECT_LIST (EObjNameSpaceArm, EArmObjBootArchInfo, CM_ARM_BOOT_ARCH_INFO)
 
STATIC EFI_STATUS EFIAPI ArmFadtBootArchInfoUpdate (IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN OUT EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE *Fadt)
 
EFI_STATUS EFIAPI FadtArchUpdate (IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN OUT EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE *Fadt)
 

Detailed Description

ARM FADT Table Helpers

Copyright (c) 2017 - 2023, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Reference(s):
  • ACPI 6.5 Specification, Aug 29, 2022

Definition in file ArmFadtGenerator.c.

Macro Definition Documentation

◆ FADT_FLAGS

#define FADT_FLAGS
Value:
(EFI_ACPI_6_5_HW_REDUCED_ACPI | \
EFI_ACPI_6_5_LOW_POWER_S0_IDLE_CAPABLE)

This macro defines the FADT flag options for ARM Platforms.

Definition at line 43 of file ArmFadtGenerator.c.

Function Documentation

◆ ArmFadtBootArchInfoUpdate()

STATIC EFI_STATUS EFIAPI ArmFadtBootArchInfoUpdate ( IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST  CfgMgrProtocol,
IN OUT EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE Fadt 
)

Updates the Architecture specific information in the FADT Table.

Parameters
[in]CfgMgrProtocolPointer to the Configuration Manager Protocol Interface.
[in,out]FadtPointer to the constructed ACPI Table.
Return values
EFI_SUCCESSSuccess.
EFI_INVALID_PARAMETERA parameter is invalid.
EFI_NOT_FOUNDThe required object was not found.
EFI_BAD_BUFFER_SIZEThe size returned by the Configuration Manager is less than the Object size for the requested object.

Definition at line 62 of file ArmFadtGenerator.c.

◆ FadtArchUpdate()

Updates the Architecture specific information in the FADT Table.

Parameters
[in]CfgMgrProtocolPointer to the Configuration Manager Protocol Interface.
[in,out]FadtPointer to the constructed ACPI Table.
Return values
EFI_SUCCESSSuccess.
EFI_INVALID_PARAMETERA parameter is invalid.
EFI_NOT_FOUNDThe required object was not found.
EFI_BAD_BUFFER_SIZEThe size returned by the Configuration Manager is less than the Object size for the requested object.

Definition at line 115 of file ArmFadtGenerator.c.

◆ GET_OBJECT_LIST()

ARM Standard FADT Generator

Requirements: The following Configuration Manager Object(s) are required by this Generator:

  • EArmObjBootArchInfo This macro expands to a function that retrieves the Boot Architecture Information from the Configuration Manager.