]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/LockBoxLib/LockBoxBase.c
3 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/DebugLib.h>
12 #include <LockBoxLib.h>
15 Allocates a buffer of type EfiACPIMemoryNVS.
17 Allocates the number bytes specified by AllocationSize of type
18 EfiACPIMemoryNVS and returns a pointer to the allocated buffer.
19 If AllocationSize is 0, then a valid buffer of 0 size is
20 returned. If there is not enough memory remaining to satisfy
21 the request, then NULL is returned.
23 @param AllocationSize The number of bytes to allocate.
25 @return A pointer to the allocated buffer or NULL if allocation fails.
31 IN UINTN AllocationSize
34 ASSERT_EFI_ERROR (RETURN_UNSUPPORTED
);