TianoCore EDK2 master
|
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/QemuFwCfgLib.h>
#include "ResetSystemAcpiGed.h"
Go to the source code of this file.
Functions | |
STATIC VOID * | GetFwCfgData (CONST CHAR8 *Name) |
STATIC EFI_STATUS | GetPowerManagerByParseAcpiInfo (VOID) |
EFI_STATUS EFI_API | ResetSystemLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Base ResetSystem library implementation.
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BaseResetSystemAcpiGed.c.
Get configuration item data by the firmware configuration file name.
[in] | Name | - Name of file to look up. |
Definition at line 24 of file BaseResetSystemAcpiGed.c.
STATIC EFI_STATUS GetPowerManagerByParseAcpiInfo | ( | VOID | ) |
Find the power manager related info from ACPI table
EFI_SUCCESS | Successfully find out all the required information. |
EFI_NOT_FOUND | Failed to find the required info. |
Definition at line 58 of file BaseResetSystemAcpiGed.c.
EFI_STATUS EFI_API ResetSystemLibConstructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The constructor function to initialize mPowerManager.
EFI_SUCCESS | Initialize mPowerManager success. |
EFI_NOT_FOUND | Failed to initialize mPowerManager. |
Definition at line 134 of file BaseResetSystemAcpiGed.c.