TianoCore EDK2 master
Loading...
Searching...
No Matches
PeilessSec.h File Reference

Go to the source code of this file.

Functions

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

Variables

UINT64 mSystemMemoryEnd
 

Detailed Description

Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.

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

Definition in file PeilessSec.h.

Function Documentation

◆ ArchInitialize()

VOID ArchInitialize ( VOID  )

Architecture specific initialization routine.

Definition at line 17 of file ArchPeilessSec.c.

◆ 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.

◆ 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.

◆ PlatformPeim()

EFI_STATUS EFIAPI PlatformPeim ( VOID  )

Entrypoint of platform PEIM driver.

Returns
Whether the platform PEIM driver executed successfully

Initialise Platform HOBs

Return values
EFI_SUCCESSSuccess.
EFI_INVALID_PARAMETERA parameter is invalid.
EFI_OUT_OF_RESOURCESOut of resources.

Definition at line 17 of file PlatformPeiLib.c.

Variable Documentation

◆ mSystemMemoryEnd

UINT64 mSystemMemoryEnd
extern

Definition at line 14 of file PeilessSec.c.