]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h
MdeModulePkg/CapsuleLib: Fix runtime issue
[mirror_edk2.git] / MdeModulePkg / Library / SmmLockBoxLib / SmmLockBoxLibPrivate.h
CommitLineData
1c837cd5 1/** @file\r
2\r
3Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
4\r
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions\r
7of the BSD License which accompanies this distribution. The\r
8full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _SMM_LOCK_BOX_LIB_PRIVATE_H_\r
17#define _SMM_LOCK_BOX_LIB_PRIVATE_H_\r
18\r
19#include <Uefi.h>\r
20\r
d31182c1 21#pragma pack(1)\r
1c837cd5 22\r
23//\r
24// Below data structure is used for lockbox registration in SMST\r
25//\r
26\r
27#define SMM_LOCK_BOX_SIGNATURE_32 SIGNATURE_64 ('L','O','C','K','B','_','3','2')\r
28#define SMM_LOCK_BOX_SIGNATURE_64 SIGNATURE_64 ('L','O','C','K','B','_','6','4')\r
29\r
30typedef struct {\r
31 UINT64 Signature;\r
32 EFI_PHYSICAL_ADDRESS LockBoxDataAddress;\r
33} SMM_LOCK_BOX_CONTEXT;\r
34\r
35//\r
36// Below data structure is used for lockbox management\r
37//\r
38\r
39#define SMM_LOCK_BOX_DATA_SIGNATURE SIGNATURE_64 ('L','O','C','K','B','O','X','D')\r
40\r
41typedef struct {\r
42 UINT64 Signature;\r
43 EFI_GUID Guid;\r
44 EFI_PHYSICAL_ADDRESS Buffer;\r
45 UINT64 Length;\r
46 UINT64 Attributes;\r
47 EFI_PHYSICAL_ADDRESS SmramBuffer;\r
48 LIST_ENTRY Link;\r
49} SMM_LOCK_BOX_DATA;\r
50\r
d31182c1 51#pragma pack()\r
1c837cd5 52\r
53#endif\r
54\r