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

Go to the source code of this file.

Functions

RETURN_STATUS EFIAPI TimerConstructor (VOID)
 
EFI_BOOT_MODE ArmPlatformGetBootMode (VOID)
 
RETURN_STATUS ArmPlatformInitialize (IN UINTN MpId)
 
EFI_STATUS PrePeiCoreGetMpCoreInfo (OUT UINTN *CoreCount, OUT ARM_CORE_INFO **ArmCoreTable)
 
VOID ArmPlatformGetPlatformPpiList (OUT UINTN *PpiListSize, OUT EFI_PEI_PPI_DESCRIPTOR **PpiList)
 

Variables

ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable []
 
ARM_MP_CORE_INFO_PPI mMpCoreInfoPpi = { PrePeiCoreGetMpCoreInfo }
 
EFI_PEI_PPI_DESCRIPTOR gPlatformPpiTable []
 

Detailed Description

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

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

Definition in file ArmPlatformLibNull.c.

Function Documentation

◆ ArmPlatformGetBootMode()

EFI_BOOT_MODE ArmPlatformGetBootMode ( VOID  )

Return the current Boot Mode

This function returns the boot reason on 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

Definition at line 124 of file ArmPlatformLibNull.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.

Definition at line 89 of file ArmPlatformLibNull.c.

◆ PrePeiCoreGetMpCoreInfo()

EFI_STATUS PrePeiCoreGetMpCoreInfo ( OUT UINTN CoreCount,
OUT ARM_CORE_INFO **  ArmCoreTable 
)

Definition at line 99 of file ArmPlatformLibNull.c.

◆ TimerConstructor()

RETURN_STATUS EFIAPI TimerConstructor ( VOID  )

Definition at line 60 of file ArmPlatformLibNull.c.

Variable Documentation

◆ gPlatformPpiTable

EFI_PEI_PPI_DESCRIPTOR gPlatformPpiTable[]
Initial value:
= {
{
EFI_PEI_PPI_DESCRIPTOR_PPI,
&gArmMpCoreInfoPpiGuid,
&mMpCoreInfoPpi
}
}

Definition at line 115 of file ArmPlatformLibNull.c.

◆ mArmPlatformNullMpCoreInfoTable

ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[]

Definition at line 14 of file ArmPlatformLibNull.c.

◆ mMpCoreInfoPpi

ARM_MP_CORE_INFO_PPI mMpCoreInfoPpi = { PrePeiCoreGetMpCoreInfo }

Definition at line 113 of file ArmPlatformLibNull.c.