TianoCore EDK2 master
|
#include <IndustryStandard/Acpi.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/AcpiTable.h>
Go to the source code of this file.
Macros | |
#define | _DBGMSGID_ "[PRMSSDTINSTALL]" |
Functions | |
EFI_STATUS | InstallPrmSsdt (IN CONST UINT8 *OemId) |
EFI_STATUS EFIAPI | PrmSsdtInstallEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
This file contains a sample implementation of the Platform Runtime Mechanism (PRM) SSDT Install library.
Copyright (c) Microsoft Corporation Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PrmSsdtInstallDxe.c.
#define _DBGMSGID_ "[PRMSSDTINSTALL]" |
Definition at line 20 of file PrmSsdtInstallDxe.c.
EFI_STATUS InstallPrmSsdt | ( | IN CONST UINT8 * | OemId | ) |
Installs the PRM SSDT.
[in] | OemId | OEM ID to be used in the SSDT installation. |
EFI_SUCCESS | The PRM SSDT was installed successfully. |
EFI_INVALID_PARAMETER | The OemId pointer argument is NULL. |
EFI_NOT_FOUND | An instance of gEfiAcpiTableProtocolGuid was not found installed or the SSDT (AML RAW section) could not be found in the current FV. |
EFI_OUT_OF_RESOURCES | Insufficient memory resources to install the PRM SSDT. |
Definition at line 35 of file PrmSsdtInstallDxe.c.
EFI_STATUS EFIAPI PrmSsdtInstallEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The entry point for this module.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
Others | An error occurred when executing this entry point. |
Definition at line 99 of file PrmSsdtInstallDxe.c.