TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmPlatformLib.h File Reference
#include <PiPei.h>
#include <Ppi/MasterBootMode.h>
#include <Ppi/BootInRecoveryMode.h>
#include <Library/ArmLib.h>

Go to the source code of this file.

Functions

EFI_BOOT_MODE ArmPlatformGetBootMode (VOID)
 
VOID ArmPlatformPeiBootAction (VOID)
 
RETURN_STATUS ArmPlatformInitialize (IN UINTN MpId)
 
VOID ArmPlatformGetVirtualMemoryMap (OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap)
 
VOID ArmPlatformGetPlatformPpiList (OUT UINTN *PpiListSize, OUT EFI_PEI_PPI_DESCRIPTOR **PpiList)
 

Detailed Description

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

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

Definition in file ArmPlatformLib.h.

Function Documentation

◆ ArmPlatformGetBootMode()

EFI_BOOT_MODE ArmPlatformGetBootMode ( VOID  )

Return the current Boot Mode

This function returns the boot reason on the platform

Returns
Return the current Boot Mode of the platform

Return the current Boot Mode

This function returns the boot reason on the platform

Return the current Boot Mode.

This function returns the boot reason on the platform

Returns
Return the current Boot Mode of the platform

Definition at line 74 of file ArmPlatformLibNull.c.

◆ ArmPlatformGetPlatformPpiList()

VOID ArmPlatformGetPlatformPpiList ( OUT UINTN PpiListSize,
OUT EFI_PEI_PPI_DESCRIPTOR **  PpiList 
)

Return the Platform specific PPIs

This function exposes the Platform Specific PPIs. They can be used by any PrePi modules or passed to the PeiCore by PrePeiCore.

Parameters
[out]PpiListSizeSize in Bytes of the Platform PPI List
[out]PpiListPlatform PPI List

Return the Platform specific PPIs.

This function exposes the Platform Specific PPIs. They can be used by any PrePi modules or passed to the PeiCore by PrePeiCore.

Parameters
[out]PpiListSizeSize in Bytes of the Platform PPI List
[out]PpiListPlatform PPI List

Definition at line 124 of file ArmPlatformLibNull.c.

◆ ArmPlatformGetVirtualMemoryMap()

VOID ArmPlatformGetVirtualMemoryMap ( OUT ARM_MEMORY_REGION_DESCRIPTOR **  VirtualMemoryMap)

Return the Virtual Memory Map of your platform

This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU on your platform.

Parameters
[out]VirtualMemoryMapArray of ARM_MEMORY_REGION_DESCRIPTOR describing a Physical-to- Virtual Memory mapping. This array must be ended by a zero-filled entry

◆ ArmPlatformInitialize()

RETURN_STATUS ArmPlatformInitialize ( IN UINTN  MpId)

Initialize controllers that must setup in the normal world

This function is called by the ArmPlatformPkg/PrePi or ArmPlatformPkg/PlatformPei in the PEI phase.

Initialize controllers that must setup in the normal world.

This function is called by the ArmPlatformPkg/PrePi or ArmPlatformPkg/PlatformPei in the PEI phase.

Parameters
[in]MpIdID of the calling CPU
Returns
RETURN_SUCCESS unless the operation failed

Definition at line 89 of file ArmPlatformLibNull.c.

◆ ArmPlatformPeiBootAction()

VOID ArmPlatformPeiBootAction ( VOID  )

First platform specific function to be called in the PEI phase

This function is actually the first function called by the PrePi or PrePeiCore modules. It allows to retrieve arguments passed to the UEFI firmware through the CPU registers.

This function might be written into assembler as no stack are set when the function is invoked.