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

Go to the source code of this file.

Functions

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

Detailed Description

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

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

Definition in file ArmPlatformLibQemu.c.

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

Definition at line 21 of file ArmPlatformLibQemu.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

Definition at line 57 of file ArmPlatformLibQemu.c.

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

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

Definition at line 39 of file ArmPlatformLibQemu.c.