TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Protocol/LockBox.h>
#include <LockBoxLib.h>
Go to the source code of this file.
Functions | |
STATIC VOID * | AllocateMemoryBelow4G (IN EFI_MEMORY_TYPE MemoryType, IN UINTN Size) |
VOID *EFIAPI | AllocateAcpiNvsPool (IN UINTN AllocationSize) |
EFI_STATUS EFIAPI | LockBoxDxeLibInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file LockBoxDxe.c.
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.
AllocationSize | The number of bytes to allocate. |
Definition at line 97 of file LockBoxDxe.c.
STATIC VOID * AllocateMemoryBelow4G | ( | IN EFI_MEMORY_TYPE | MemoryType, |
IN UINTN | Size | ||
) |
Allocate memory below 4G memory address.
This function allocates memory below 4G memory address.
MemoryType | Memory type of memory to allocate. |
Size | Size of memory to allocate. |
Definition at line 31 of file LockBoxDxe.c.
EFI_STATUS EFIAPI LockBoxDxeLibInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Definition at line 106 of file LockBoxDxe.c.