VirtualBox

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

Last change on this file since 80924 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
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
46
47RETURN_STATUS
48EFIAPI
49LockBoxLibInitialize (
50 VOID
51 );
52
53
54#endif
Note: See TracBrowser for help on using the repository browser.

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