VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/LockBoxLib/LockBoxLib.h

最後變更 在這個檔案是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.1 KB
 
1/** @file
2
3 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __LOCK_BOX_LIB_IMPL_H__
10#define __LOCK_BOX_LIB_IMPL_H__
11
12#pragma pack(1)
13
14typedef struct {
15 UINT32 Signature;
16 UINT32 SubPageBuffer;
17 UINT32 SubPageRemaining;
18} LOCK_BOX_GLOBAL;
19
20#define LOCK_BOX_GLOBAL_SIGNATURE SIGNATURE_32('L', 'B', 'G', 'S')
21
22extern LOCK_BOX_GLOBAL *mLockBoxGlobal;
23
24#pragma pack()
25
26/**
27 Allocates a buffer of type EfiACPIMemoryNVS.
28
29 Allocates the number bytes specified by AllocationSize of type
30 EfiACPIMemoryNVS and returns a pointer to the allocated buffer.
31 If AllocationSize is 0, then a valid buffer of 0 size is
32 returned. If there is not enough memory remaining to satisfy
33 the request, then NULL is returned.
34
35 @param AllocationSize The number of bytes to allocate.
36
37 @return A pointer to the allocated buffer or NULL if allocation fails.
38
39**/
40VOID *
41EFIAPI
42AllocateAcpiNvsPool (
43 IN UINTN AllocationSize
44 );
45
46RETURN_STATUS
47EFIAPI
48LockBoxLibInitialize (
49 VOID
50 );
51
52#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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