TianoCore EDK2 master
Loading...
Searching...
No Matches
MemoryInitPeiLib.c File Reference

Go to the source code of this file.

Functions

VOID BuildMemoryTypeInformationHob (VOID)
 
STATIC VOID InitMmu (IN ARM_MEMORY_REGION_DESCRIPTOR *MemoryTable)
 
EFI_STATUS EFIAPI MemoryPeim (IN EFI_PHYSICAL_ADDRESS UefiMemoryBase, IN UINT64 UefiMemorySize)
 

Detailed Description

Copyright (c) 2011-2015, ARM Limited. All rights reserved.

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

Definition in file MemoryInitPeiLib.c.

Function Documentation

◆ BuildMemoryTypeInformationHob()

VOID BuildMemoryTypeInformationHob ( VOID  )

Build the memory type information HOB that describes how many pages of each type to preallocate when initializing the GCD memory map.

Definition at line 844 of file Hob.c.

◆ InitMmu()

STATIC VOID InitMmu ( IN ARM_MEMORY_REGION_DESCRIPTOR MemoryTable)

Definition at line 25 of file MemoryInitPeiLib.c.

◆ MemoryPeim()

EFI_STATUS EFIAPI MemoryPeim ( IN EFI_PHYSICAL_ADDRESS  UefiMemoryBase,
IN UINT64  UefiMemorySize 
)

Entrypoint of the memory PEIM driver.

Parameters
[in]UefiMemoryBaseThe base of the PI/UEFI memory region
[in[UefiMemorySize The size of the PI/UEFI memory region
Returns
Whether the memory PEIM driver executed successfully

Definition at line 59 of file MemoryInitPeiLib.c.