TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmLockBox.h
Go to the documentation of this file.
1
10#ifndef _SMM_LOCK_BOX_GUID_H_
11#define _SMM_LOCK_BOX_GUID_H_
12
13#define EFI_SMM_LOCK_BOX_COMMUNICATION_GUID \
14 {0x2a3cfebd, 0x27e8, 0x4d0a, {0x8b, 0x79, 0xd6, 0x88, 0xc2, 0xa3, 0xe1, 0xc0}}
15
16//
17// Below data structure is used for communication between PEI/DXE to SMM.
18//
19
20#define EFI_SMM_LOCK_BOX_COMMAND_SAVE 0x1
21#define EFI_SMM_LOCK_BOX_COMMAND_UPDATE 0x2
22#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE 0x3
23#define EFI_SMM_LOCK_BOX_COMMAND_SET_ATTRIBUTES 0x4
24#define EFI_SMM_LOCK_BOX_COMMAND_RESTORE_ALL_IN_PLACE 0x5
25
26typedef struct {
27 UINT32 Command;
28 UINT32 DataLength;
29 UINT64 ReturnStatus;
31
32typedef struct {
34 GUID Guid;
35 PHYSICAL_ADDRESS Buffer;
36 UINT64 Length;
38
39typedef struct {
41 GUID Guid;
42 UINT64 Offset;
43 PHYSICAL_ADDRESS Buffer;
44 UINT64 Length;
46
47typedef struct {
49 GUID Guid;
50 PHYSICAL_ADDRESS Buffer;
51 UINT64 Length;
53
54typedef struct {
56 GUID Guid;
57 UINT64 Attributes;
59
60typedef struct {
63
64extern EFI_GUID gEfiSmmLockBoxCommunicationGuid;
65
66#endif
Definition: Base.h:213