TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmLockBoxLibPrivate.h File Reference
#include <Uefi.h>

Go to the source code of this file.

Data Structures

struct  SMM_LOCK_BOX_CONTEXT
 
struct  SMM_LOCK_BOX_DATA
 

Macros

#define SMM_LOCK_BOX_SIGNATURE_32   SIGNATURE_64 ('L','O','C','K','B','_','3','2')
 
#define SMM_LOCK_BOX_SIGNATURE_64   SIGNATURE_64 ('L','O','C','K','B','_','6','4')
 
#define SMM_LOCK_BOX_DATA_SIGNATURE   SIGNATURE_64 ('L','O','C','K','B','O','X','D')
 

Functions

EFI_STATUS SmmLockBoxMmConstructor (VOID)
 
EFI_STATUS SmmLockBoxMmDestructor (VOID)
 

Detailed Description

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

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

Definition in file SmmLockBoxLibPrivate.h.

Macro Definition Documentation

◆ SMM_LOCK_BOX_DATA_SIGNATURE

#define SMM_LOCK_BOX_DATA_SIGNATURE   SIGNATURE_64 ('L','O','C','K','B','O','X','D')

Definition at line 32 of file SmmLockBoxLibPrivate.h.

◆ SMM_LOCK_BOX_SIGNATURE_32

#define SMM_LOCK_BOX_SIGNATURE_32   SIGNATURE_64 ('L','O','C','K','B','_','3','2')

Definition at line 20 of file SmmLockBoxLibPrivate.h.

◆ SMM_LOCK_BOX_SIGNATURE_64

#define SMM_LOCK_BOX_SIGNATURE_64   SIGNATURE_64 ('L','O','C','K','B','_','6','4')

Definition at line 21 of file SmmLockBoxLibPrivate.h.

Function Documentation

◆ SmmLockBoxMmConstructor()

EFI_STATUS SmmLockBoxMmConstructor ( VOID  )

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

Return values
EFI_SUCEESS
Returns
Others Some error occurs.

Definition at line 198 of file SmmLockBoxMmLib.c.

◆ SmmLockBoxMmDestructor()

EFI_STATUS SmmLockBoxMmDestructor ( VOID  )

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

Return values
EFI_SUCEESSThe destructor always returns EFI_SUCCESS.

Definition at line 287 of file SmmLockBoxMmLib.c.