]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/LockBoxLib/LockBoxBase.c
CryptoPkg/OpensslLib: fix VS2017 build failure
[mirror_edk2.git] / OvmfPkg / Library / LockBoxLib / LockBoxBase.c
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 #include <Uefi.h>
10
11 #include <Library/DebugLib.h>
12 #include <LockBoxLib.h>
13
14 /**
15 Allocates a buffer of type EfiACPIMemoryNVS.
16
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.
22
23 @param AllocationSize The number of bytes to allocate.
24
25 @return A pointer to the allocated buffer or NULL if allocation fails.
26
27 **/
28 VOID *
29 EFIAPI
30 AllocateAcpiNvsPool (
31 IN UINTN AllocationSize
32 )
33 {
34 ASSERT_EFI_ERROR (RETURN_UNSUPPORTED);
35 return NULL;
36 }