IntelFsp2Pkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FspPlatformLib.h File Reference

Functions

EFI_HOB_RESOURCE_DESCRIPTOR *EFIAPI FspGetResourceDescriptorByOwner (IN EFI_GUID *OwnerGuid)
 
VOID EFIAPI FspGetSystemMemorySize (IN OUT UINT64 *LowMemoryLength, IN OUT UINT64 *HighMemoryLength)
 
VOID EFIAPI FspSetNewStackFrame (VOID)
 
VOID EFIAPI FspSiliconInitDone (VOID)
 
VOID EFIAPI FspMemoryInitDone (IN OUT VOID **HobListPtr)
 
VOID EFIAPI FspTempRamExitDone (VOID)
 
VOID EFIAPI FspWaitForNotify (VOID)
 
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)
 

Detailed Description

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

Function Documentation

EFI_HOB_RESOURCE_DESCRIPTOR* EFIAPI FspGetResourceDescriptorByOwner ( IN EFI_GUID *  OwnerGuid)

Get system memory resource descriptor by owner.

Parameters
[in]OwnerGuidresource owner guid
VOID EFIAPI FspGetSystemMemorySize ( IN OUT UINT64 *  LowMemoryLength,
IN OUT UINT64 *  HighMemoryLength 
)

Get system memory from HOB.

Parameters
[in,out]LowMemoryLengthless than 4G memory length
[in,out]HighMemoryLengthgreater than 4G memory length
VOID EFIAPI FspMemoryInitDone ( IN OUT VOID **  HobListPtr)

This function returns control to BootLoader after MemoryInitApi.

Parameters
[in,out]HobListPtrThe address of HobList pointer.
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.
VOID EFIAPI FspSetNewStackFrame ( VOID  )

Set a new stack frame for the continuation function.

VOID EFIAPI FspSiliconInitDone ( VOID  )

This function transfer control back to BootLoader after FspSiliconInit.

VOID EFIAPI FspSiliconInitDone2 ( IN EFI_STATUS  Status)

This function transfer control back to BootLoader after FspSiliconInit.

Parameters
[in]Statusreturn status for the FspSiliconInit.
VOID EFIAPI FspTempRamExitDone ( VOID  )

This function returns control to BootLoader after TempRamExitApi.

VOID EFIAPI FspTempRamExitDone2 ( IN EFI_STATUS  Status)

This function returns control to BootLoader after TempRamExitApi.

Parameters
[in]Statusreturn status for the TempRamExitApi.
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.