TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmLockBoxLibPrivate.h
Go to the documentation of this file.
1
9#ifndef _SMM_LOCK_BOX_LIB_PRIVATE_H_
10#define _SMM_LOCK_BOX_LIB_PRIVATE_H_
11
12#include <Uefi.h>
13
14#pragma pack(1)
15
16//
17// Below data structure is used for lockbox registration in SMST
18//
19
20#define SMM_LOCK_BOX_SIGNATURE_32 SIGNATURE_64 ('L','O','C','K','B','_','3','2')
21#define SMM_LOCK_BOX_SIGNATURE_64 SIGNATURE_64 ('L','O','C','K','B','_','6','4')
22
23typedef struct {
24 UINT64 Signature;
25 EFI_PHYSICAL_ADDRESS LockBoxDataAddress;
27
28//
29// Below data structure is used for lockbox management
30//
31
32#define SMM_LOCK_BOX_DATA_SIGNATURE SIGNATURE_64 ('L','O','C','K','B','O','X','D')
33
34typedef struct {
35 UINT64 Signature;
36 EFI_GUID Guid;
38 UINT64 Length;
39 UINT64 Attributes;
40 EFI_PHYSICAL_ADDRESS SmramBuffer;
41 LIST_ENTRY Link;
43
44#pragma pack()
45
55 VOID
56 );
57
68 VOID
69 );
70
71#endif
EFI_STATUS SmmLockBoxMmConstructor(VOID)
EFI_STATUS SmmLockBoxMmDestructor(VOID)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213