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

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI SmmLockBoxStandaloneMmConstructor (IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI SmmLockBoxStandaloneMmDestructor (IN EFI_HANDLE ImageHandle, IN EFI_MM_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 SmmLockBoxStandaloneMmLib.c.

Function Documentation

◆ SmmLockBoxStandaloneMmConstructor()

EFI_STATUS EFIAPI SmmLockBoxStandaloneMmConstructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_MM_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 SmmLockBoxStandaloneMmLib.c.

◆ SmmLockBoxStandaloneMmDestructor()

EFI_STATUS EFIAPI SmmLockBoxStandaloneMmDestructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_MM_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 SmmLockBoxStandaloneMmLib.c.