TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckHiiLibMmDependency.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI VarCheckHiiLibSmmEndOfDxeNotify (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI VarCheckHiiLibMmDependencyConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

VAR_CHECK_HII_VARIABLE_HEADERmVarCheckHiiBin
 
UINTN mVarCheckHiiBinSize
 
EFI_GUID gVarCheckReceivedHiiBinHandlerGuid = VAR_CHECK_RECEIVED_HII_BIN_HANDLER_GUID
 

Detailed Description

VarCheckHiiLib Dependency library. It sends HII variable checking data to SMM via the MM Communication protocol. Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VarCheckHiiLibMmDependency.c.

Function Documentation

◆ VarCheckHiiLibMmDependencyConstructor()

EFI_STATUS EFIAPI VarCheckHiiLibMmDependencyConstructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Constructor function of the VarCheckHiiLibMmDependency.

Parameters
ImageHandleThe firmware allocated handle for the EFI image.
SystemTableA pointer to the Management mode System Table.
Return values
EFI_SUCCESSThe protocol was successfully installed into the DXE database.

Definition at line 125 of file VarCheckHiiLibMmDependency.c.

◆ VarCheckHiiLibSmmEndOfDxeNotify()

VOID EFIAPI VarCheckHiiLibSmmEndOfDxeNotify ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Sends HII variable checking data to SMM at the end of DXE phase. This function is triggered by the End of DXE. It locates a memory region for MM communication, prepares the communication buffer with HII variable checking data, and communicates with SMM using the MM Communication protocol.

Parameters
[in]EventEvent whose notification function is being invoked.
[in]ContextThe pointer to the notification function's context, which is implementation-dependent.

Definition at line 35 of file VarCheckHiiLibMmDependency.c.

Variable Documentation

◆ gVarCheckReceivedHiiBinHandlerGuid

EFI_GUID gVarCheckReceivedHiiBinHandlerGuid = VAR_CHECK_RECEIVED_HII_BIN_HANDLER_GUID

Definition at line 21 of file VarCheckHiiLibMmDependency.c.

◆ mVarCheckHiiBin

VAR_CHECK_HII_VARIABLE_HEADER* mVarCheckHiiBin
extern

Definition at line 12 of file VarCheckHiiGen.c.

◆ mVarCheckHiiBinSize

UINTN mVarCheckHiiBinSize
extern

Definition at line 13 of file VarCheckHiiGen.c.