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

Go to the source code of this file.

Functions

VOID BuildMemoryTypeInformationHob (VOID)
 
VOID InitMmu (VOID)
 
EFI_STATUS EFIAPI MemoryPeim (IN EFI_PHYSICAL_ADDRESS UefiMemoryBase, IN UINT64 UefiMemorySize)
 

Detailed Description

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

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

Definition in file ArmVirtMemoryInitPeiLib.c.

Function Documentation

◆ BuildMemoryTypeInformationHob()

VOID BuildMemoryTypeInformationHob ( VOID  )

Populate and install the memory type information HOB.

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 36 of file MemoryInitPeim.c.

◆ InitMmu()

VOID InitMmu ( VOID  )

Definition at line 26 of file ArmVirtMemoryInitPeiLib.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 48 of file ArmVirtMemoryInitPeiLib.c.