VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h@ 95057

最後變更 在這個檔案從95057是 89983,由 vboxsync 提交於 4 年 前

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.6 KB
 
1/** @file
2
3Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
4
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
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;
26} SMM_LOCK_BOX_CONTEXT;
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;
37 EFI_PHYSICAL_ADDRESS Buffer;
38 UINT64 Length;
39 UINT64 Attributes;
40 EFI_PHYSICAL_ADDRESS SmramBuffer;
41 LIST_ENTRY Link;
42} SMM_LOCK_BOX_DATA;
43
44#pragma pack()
45
46/**
47 Constructor for SmmLockBox library.
48 This is used to set SmmLockBox context, which will be used in PEI phase in S3 boot path later.
49
50 @retval EFI_SUCEESS
51 @return Others Some error occurs.
52**/
53EFI_STATUS
54SmmLockBoxMmConstructor (
55 VOID
56 );
57
58/**
59 Destructor for SmmLockBox library.
60 This is used to uninstall SmmLockBoxCommunication configuration table
61 if it has been installed in Constructor.
62
63 @retval EFI_SUCEESS The destructor always returns EFI_SUCCESS.
64
65**/
66EFI_STATUS
67SmmLockBoxMmDestructor (
68 VOID
69 );
70
71#endif
72
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette