TianoCore EDK2 master
|
#include <Library/MmServicesTableLib.h>
#include <Library/StandaloneMmMemLib.h>
#include "Variable.h"
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_MM_SYSTEM_TABLE *MmSystemTable) |
BOOLEAN | VariableIsMorVariableLegitimate (VOID) |
Parts of the SMM/MM implementation that are specific to standalone 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 VariableStandaloneMm.c.
BOOLEAN VariableIsMorVariableLegitimate | ( | VOID | ) |
Whether the MOR variable is legitimate or not.
TRUE | MOR Variable is legitimate. |
FALSE | MOR Variable in not legitimate. |
Definition at line 111 of file VariableStandaloneMm.c.
VOID VariableNotifySmmReady | ( | VOID | ) |
Notify the system that the SMM variable driver is ready.
Definition at line 58 of file VariableStandaloneMm.c.
VOID VariableNotifySmmWriteReady | ( | VOID | ) |
Notify the system that the SMM variable write driver is ready.
Definition at line 68 of file VariableStandaloneMm.c.
EFI_STATUS EFIAPI VariableServiceInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_MM_SYSTEM_TABLE * | MmSystemTable | ||
) |
Variable service MM driver entry point.
[in] | ImageHandle | A handle for the image that is initializing this driver |
[in] | MmSystemTable | A pointer to the MM system table |
EFI_SUCCESS | Variable service successfully initialized. |
Definition at line 96 of file VariableStandaloneMm.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 VariableStandaloneMm.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 VariableStandaloneMm.c.