TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
BOOLEAN | VariableSmmIsPrimaryBufferValid (IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length) |
BOOLEAN | VariableSmmIsNonPrimaryBufferValid (IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length) |
VOID | VariableNotifySmmReady (VOID) |
VOID | VariableNotifySmmWriteReady (VOID) |
EFI_STATUS EFIAPI | VariableServiceInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
BOOLEAN | VariableIsMorVariableLegitimate (VOID) |
Parts of the SMM/MM implementation that are specific to traditional MM
Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved.
Copyright (c) 2018, Linaro, Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VariableTraditionalMm.c.
BOOLEAN VariableIsMorVariableLegitimate | ( | VOID | ) |
Whether the TCG or TCG2 protocols are installed in the UEFI protocol database. This information is used by the MorLock code to infer whether an existing MOR variable is legitimate or not.
TRUE | Either the TCG or TCG2 protocol is installed in the UEFI protocol database. MOR variable is legitimate. |
FALSE | Neither the TCG nor the TCG2 protocol is installed in the UEFI protocol database. MOR variable is not legitimate. |
Definition at line 126 of file VariableTraditionalMm.c.
VOID VariableNotifySmmReady | ( | VOID | ) |
Notify the system that the SMM variable driver is ready.
Definition at line 58 of file VariableTraditionalMm.c.
VOID VariableNotifySmmWriteReady | ( | VOID | ) |
Notify the system that the SMM variable write driver is ready.
Definition at line 79 of file VariableTraditionalMm.c.
EFI_STATUS EFIAPI VariableServiceInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Variable service MM driver entry point
[in] | ImageHandle | A handle for the image that is initializing this driver |
[in] | SystemTable | A pointer to the EFI system table |
EFI_SUCCESS | Variable service successfully initialized. |
Definition at line 107 of file VariableTraditionalMm.c.
BOOLEAN VariableSmmIsNonPrimaryBufferValid | ( | IN EFI_PHYSICAL_ADDRESS | Buffer, |
IN UINT64 | Length | ||
) |
This function checks if the buffer is valid per processor architecture and does not overlap with SMRAM.
Buffer | The buffer start address to be checked. |
Length | The buffer length to be checked. |
TRUE | This buffer is valid per processor architecture and does not overlap with SMRAM. |
FALSE | This buffer is not valid per processor architecture or overlaps with SMRAM. |
Definition at line 46 of file VariableTraditionalMm.c.
BOOLEAN VariableSmmIsPrimaryBufferValid | ( | IN EFI_PHYSICAL_ADDRESS | Buffer, |
IN UINT64 | Length | ||
) |
This function checks if the Primary Buffer (CommBuffer) is valid.
Buffer | The buffer start address to be checked. |
Length | The buffer length to be checked. |
TRUE | This buffer is valid. |
FALSE | This buffer is not valid. |
Definition at line 25 of file VariableTraditionalMm.c.