TianoCore EDK2 master
|
#include <X64NameSpaceObjects.h>
#include <Library/BaseMemoryLib.h>
#include <Library/AcpiLib.h>
#include <Library/DebugLib.h>
#include <Protocol/AcpiTable.h>
#include <AcpiTableGenerator.h>
#include <ConfigurationManagerObject.h>
#include <ConfigurationManagerHelper.h>
#include <Library/TableHelperLib.h>
#include <Protocol/ConfigurationManagerProtocol.h>
#include "FadtGenerator.h"
Go to the source code of this file.
X64 FADT Table Helpers
Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file X64FadtGenerator.c.
EFI_STATUS EFIAPI FadtArchUpdate | ( | 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.
[in] | CfgMgrProtocol | Pointer to the Configuration Manager Protocol Interface. |
[in,out] | Fadt | Pointer to the constructed ACPI Table. |
EFI_SUCCESS | Success. |
EFI_INVALID_PARAMETER | A parameter is invalid. |
EFI_NOT_FOUND | The required object was not found. |
EFI_BAD_BUFFER_SIZE | The 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 | ( | EObjNameSpaceX64 | , |
EX64ObjFadtGpeBlockInfo | , | ||
CM_X64_FADT_GPE_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the legacy GPE block information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtMiscInfo | , | ||
CM_X64_FADT_MISC_INFO | |||
) |
This macro expands to a function that retrieves the legacy level2 latency, level 3 latency, RTC information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtPmBlockInfo | , | ||
CM_X64_FADT_PM_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the legacy power management information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtResetBlockInfo | , | ||
CM_X64_FADT_RESET_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the reset block information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtSciCmdInfo | , | ||
CM_X64_FADT_SCI_CMD_INFO | |||
) |
This macro expands to a function that retrieves the SCI command information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtSciInterrupt | , | ||
CM_X64_FADT_SCI_INTERRUPT | |||
) |
This macro expands to a function that retrieves the SCI interrupt information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtSleepBlockInfo | , | ||
CM_X64_FADT_SLEEP_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the sleep block information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtXgpeBlockInfo | , | ||
CM_X64_FADT_X_GPE_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the 64-bit GPE block information from the Configuration Manager.
GET_OBJECT_LIST | ( | EObjNameSpaceX64 | , |
EX64ObjFadtXpmBlockInfo | , | ||
CM_X64_FADT_X_PM_BLOCK_INFO | |||
) |
This macro expands to a function that retrieves the 64-bit power management information from the Configuration Manager.