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

Go to the source code of this file.

Macros

#define SerialPrint(txt)   SerialPortWrite (txt, AsciiStrLen(txt)+1);
 

Functions

VOID PrePiMain (IN UINTN UefiMemoryBase, IN UINTN StacksBase, IN UINT64 StartTimeStamp)
 
EFI_STATUS EFIAPI MemoryPeim (IN EFI_PHYSICAL_ADDRESS UefiMemoryBase, IN UINT64 UefiMemorySize)
 
EFI_STATUS EFIAPI PlatformPeim (VOID)
 
VOID BuildMemoryTypeInformationHob (VOID)
 
VOID ArchInitialize (VOID)
 

Detailed Description

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

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

Definition in file PrePi.h.

Macro Definition Documentation

◆ SerialPrint

#define SerialPrint (   txt)    SerialPortWrite (txt, AsciiStrLen(txt)+1);

Definition at line 23 of file PrePi.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.

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.

◆ PrePiMain()

VOID PrePiMain ( IN UINTN  UefiMemoryBase,
IN UINTN  StacksBase,
IN UINT64  StartTimeStamp 
)

Definition at line 26 of file PrePi.c.