TianoCore EDK2 master
Loading...
Searching...
No Matches
LockBoxBase.c File Reference
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <LockBoxLib.h>

Go to the source code of this file.

Functions

VOID *EFIAPI AllocateAcpiNvsPool (IN UINTN AllocationSize)
 

Detailed Description

Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file LockBoxBase.c.

Function Documentation

◆ AllocateAcpiNvsPool()

VOID *EFIAPI AllocateAcpiNvsPool ( IN UINTN  AllocationSize)

Allocates a buffer of type EfiACPIMemoryNVS.

Allocates the number bytes specified by AllocationSize of type EfiACPIMemoryNVS and returns a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.

Parameters
AllocationSizeThe number of bytes to allocate.
Returns
A pointer to the allocated buffer or NULL if allocation fails.

Definition at line 30 of file LockBoxBase.c.