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

Go to the source code of this file.

Functions

 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtSciInterrupt, CM_X64_FADT_SCI_INTERRUPT)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtSciCmdInfo, CM_X64_FADT_SCI_CMD_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtPmBlockInfo, CM_X64_FADT_PM_BLOCK_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtGpeBlockInfo, CM_X64_FADT_GPE_BLOCK_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtMiscInfo, CM_X64_FADT_MISC_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtXpmBlockInfo, CM_X64_FADT_X_PM_BLOCK_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtXgpeBlockInfo, CM_X64_FADT_X_GPE_BLOCK_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtSleepBlockInfo, CM_X64_FADT_SLEEP_BLOCK_INFO)
 
 GET_OBJECT_LIST (EObjNameSpaceX64, EX64ObjFadtResetBlockInfo, CM_X64_FADT_RESET_BLOCK_INFO)
 
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

X64 FADT Table Helpers

Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

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

Definition in file X64FadtGenerator.c.

Function Documentation

◆ 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 122 of file X64FadtGenerator.c.

◆ GET_OBJECT_LIST() [1/9]

This macro expands to a function that retrieves the legacy GPE block information from the Configuration Manager.

◆ GET_OBJECT_LIST() [2/9]

This macro expands to a function that retrieves the legacy level2 latency, level 3 latency, RTC information from the Configuration Manager.

◆ GET_OBJECT_LIST() [3/9]

This macro expands to a function that retrieves the legacy power management information from the Configuration Manager.

◆ GET_OBJECT_LIST() [4/9]

This macro expands to a function that retrieves the reset block information from the Configuration Manager.

◆ GET_OBJECT_LIST() [5/9]

This macro expands to a function that retrieves the SCI command information from the Configuration Manager.

◆ GET_OBJECT_LIST() [6/9]

This macro expands to a function that retrieves the SCI interrupt information from the Configuration Manager.

◆ GET_OBJECT_LIST() [7/9]

This macro expands to a function that retrieves the sleep block information from the Configuration Manager.

◆ GET_OBJECT_LIST() [8/9]

This macro expands to a function that retrieves the 64-bit GPE block information from the Configuration Manager.

◆ GET_OBJECT_LIST() [9/9]

This macro expands to a function that retrieves the 64-bit power management information from the Configuration Manager.