]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/LockBoxLib/LockBoxLib.h
3 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __LOCK_BOX_LIB_IMPL_H__
10 #define __LOCK_BOX_LIB_IMPL_H__
17 UINT32 SubPageRemaining
;
20 #define LOCK_BOX_GLOBAL_SIGNATURE SIGNATURE_32('L', 'B', 'G', 'S')
22 extern LOCK_BOX_GLOBAL
*mLockBoxGlobal
;
27 Allocates a buffer of type EfiACPIMemoryNVS.
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.
35 @param AllocationSize The number of bytes to allocate.
37 @return A pointer to the allocated buffer or NULL if allocation fails.
43 IN UINTN AllocationSize
49 LockBoxLibInitialize (