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

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI InitializePlatformPeim (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 
EFI_STATUS EFIAPI PlatformPeim (VOID)
 

Variables

CONST EFI_PEI_PPI_DESCRIPTOR mPpiListBootMode
 
CONST EFI_PEI_PPI_DESCRIPTOR mPpiListRecoveryBootMode
 

Detailed Description

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

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

Definition in file PlatformPeim.c.

Function Documentation

◆ InitializePlatformPeim()

EFI_STATUS EFIAPI InitializePlatformPeim ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

Definition at line 74 of file PlatformPeim.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.

Variable Documentation

◆ mPpiListBootMode

CONST EFI_PEI_PPI_DESCRIPTOR mPpiListBootMode
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiMasterBootModePpiGuid,
}
#define NULL
Definition: Base.h:319

Definition at line 44 of file PlatformPeim.c.

◆ mPpiListRecoveryBootMode

CONST EFI_PEI_PPI_DESCRIPTOR mPpiListRecoveryBootMode
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiBootInRecoveryModePpiGuid,
}

Definition at line 50 of file PlatformPeim.c.