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

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI FspNotificationHandler (IN UINT32 NotificationCode)
 
VOID EFIAPI FspSiliconInitDone2 (IN EFI_STATUS Status)
 
VOID EFIAPI FspMemoryInitDone2 (IN EFI_STATUS Status, IN OUT VOID **HobListPtr)
 
VOID EFIAPI FspTempRamExitDone2 (IN EFI_STATUS Status)
 
VOID EFIAPI FspWaitForNotify (VOID)
 
VOID EFIAPI FspSiliconInitDone (VOID)
 
VOID EFIAPI FspMemoryInitDone (IN OUT VOID **HobListPtr)
 
VOID EFIAPI FspTempRamExitDone (VOID)
 

Variables

EFI_GUID gFspPerformanceDataGuid
 
EFI_PEI_PPI_DESCRIPTOR mPeiPostPciEnumerationPpi
 
EFI_PEI_PPI_DESCRIPTOR mPeiReadyToBootPpi
 
EFI_PEI_PPI_DESCRIPTOR mPeiEndOfFirmwarePpi
 
UINT32 mFspNotifySequence []
 

Detailed Description

Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FspPlatformNotify.c.

Function Documentation

◆ FspMemoryInitDone()

VOID EFIAPI FspMemoryInitDone ( IN OUT VOID **  HobListPtr)

This function returns control to BootLoader after MemoryInitApi.

Parameters
[in,out]HobListPtrThe address of HobList pointer.

Definition at line 399 of file FspPlatformNotify.c.

◆ FspMemoryInitDone2()

VOID EFIAPI FspMemoryInitDone2 ( IN EFI_STATUS  Status,
IN OUT VOID **  HobListPtr 
)

This function returns control to BootLoader after MemoryInitApi.

Parameters
[in]Statusreturn status for the MemoryInitApi.
[in,out]HobListPtrThe address of HobList pointer, if NULL, will get value from GetFspApiParameter2 ()

Definition at line 159 of file FspPlatformNotify.c.

◆ FspNotificationHandler()

EFI_STATUS EFIAPI FspNotificationHandler ( IN UINT32  NotificationCode)

Install FSP notification.

Parameters
[in]NotificationCodeFSP notification code
Return values
EFI_SUCCESSNotify FSP successfully
EFI_INVALID_PARAMETERNotificationCode is invalid

Definition at line 61 of file FspPlatformNotify.c.

◆ FspSiliconInitDone()

VOID EFIAPI FspSiliconInitDone ( VOID  )

This function transfer control back to BootLoader after FspSiliconInit.

Definition at line 385 of file FspPlatformNotify.c.

◆ FspSiliconInitDone2()

VOID EFIAPI FspSiliconInitDone2 ( IN EFI_STATUS  Status)

This function transfer control back to BootLoader after FspSiliconInit.

Parameters
[in]Statusreturn status for the FspSiliconInit.

Definition at line 110 of file FspPlatformNotify.c.

◆ FspTempRamExitDone()

VOID EFIAPI FspTempRamExitDone ( VOID  )

This function returns control to BootLoader after TempRamExitApi.

Definition at line 412 of file FspPlatformNotify.c.

◆ FspTempRamExitDone2()

VOID EFIAPI FspTempRamExitDone2 ( IN EFI_STATUS  Status)

This function returns control to BootLoader after TempRamExitApi.

Parameters
[in]Statusreturn status for the TempRamExitApi.

Definition at line 244 of file FspPlatformNotify.c.

◆ FspWaitForNotify()

VOID EFIAPI FspWaitForNotify ( VOID  )

This function handle NotifyPhase API call from the BootLoader. It gives control back to the BootLoader after it is handled. If the Notification code is a ReadyToBoot event, this function will return and FSP continues the remaining execution until it reaches the DxeIpl.

Definition at line 300 of file FspPlatformNotify.c.

Variable Documentation

◆ mFspNotifySequence

UINT32 mFspNotifySequence[]
Initial value:
= {
}
@ EnumInitPhaseAfterPciEnumeration
Definition: FspApi.h:470
@ EnumInitPhaseReadyToBoot
Definition: FspApi.h:475
@ EnumInitPhaseEndOfFirmware
Definition: FspApi.h:481

Definition at line 44 of file FspPlatformNotify.c.

◆ mPeiEndOfFirmwarePpi

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

Definition at line 38 of file FspPlatformNotify.c.

◆ mPeiPostPciEnumerationPpi

EFI_PEI_PPI_DESCRIPTOR mPeiPostPciEnumerationPpi
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPciEnumerationCompleteProtocolGuid,
}

Definition at line 26 of file FspPlatformNotify.c.

◆ mPeiReadyToBootPpi

EFI_PEI_PPI_DESCRIPTOR mPeiReadyToBootPpi
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiEventReadyToBootGuid,
}

Definition at line 32 of file FspPlatformNotify.c.