TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmLockBoxTraditionalMmLib.c File Reference
#include <PiSmm.h>
#include "SmmLockBoxLibPrivate.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI SmmLockBoxTraditionalConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI SmmLockBoxTraditionalDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SmmLockBoxTraditionalMmLib.c.

Function Documentation

◆ SmmLockBoxTraditionalConstructor()

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

Constructor for SmmLockBox library. This is used to set SmmLockBox context, which will be used in PEI phase in S3 boot path later.

Parameters
[in]ImageHandleImage handle of this driver.
[in]SystemTableA Pointer to the EFI System Table.
Return values
EFI_SUCEESS
Returns
Others Some error occurs.

Definition at line 26 of file SmmLockBoxTraditionalMmLib.c.

◆ SmmLockBoxTraditionalDestructor()

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

Destructor for SmmLockBox library. This is used to uninstall SmmLockBoxCommunication configuration table if it has been installed in Constructor.

Parameters
[in]ImageHandleImage handle of this driver.
[in]SystemTableA Pointer to the EFI System Table.
Return values
EFI_SUCEESSThe destructor always returns EFI_SUCCESS.

Definition at line 47 of file SmmLockBoxTraditionalMmLib.c.