1 /** @file 2 3 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 4 5 This program and the accompanying materials 6 are licensed and made available under the terms and conditions of the BSD License 7 which accompanies this distribution. The full text of the license may be found at 8 http://opensource.org/licenses/bsd-license.php. 9 10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 13 **/ 14 15 #include <Uefi.h> 16 17 #include <Library/DebugLib.h> 18 #include <LockBoxLib.h> 19 20 /** 21 Allocates a buffer of type EfiACPIMemoryNVS. 22 23 Allocates the number bytes specified by AllocationSize of type 24 EfiACPIMemoryNVS and returns a pointer to the allocated buffer. 25 If AllocationSize is 0, then a valid buffer of 0 size is 26 returned. If there is not enough memory remaining to satisfy 27 the request, then NULL is returned. 28 29 @param AllocationSize The number of bytes to allocate. 30 31 @return A pointer to the allocated buffer or NULL if allocation fails. 32 33 **/ 34 VOID * 35 EFIAPI 36 AllocateAcpiNvsPool ( 37 IN UINTN AllocationSize 38 ) 39 { 40 ASSERT_EFI_ERROR (RETURN_UNSUPPORTED); 41 return NULL; 42 } 43