TianoCore EDK2 master
Loading...
Searching...
No Matches
FspPlatformLib.h File Reference

Go to the source code of this file.

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)
 
VOID EFIAPI ReadTemporaryRamSize (IN UINT32 TemporaryRamBase, OUT UINT32 *TemporaryRamSize)
 

Detailed Description

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

Definition in file FspPlatformLib.h.

Function Documentation

◆ FspGetResourceDescriptorByOwner()

EFI_HOB_RESOURCE_DESCRIPTOR *EFIAPI FspGetResourceDescriptorByOwner ( IN EFI_GUID OwnerGuid)

Get system memory resource descriptor by owner.

Parameters
[in]OwnerGuidresource owner guid

Definition at line 28 of file FspPlatformMemory.c.

◆ FspGetSystemMemorySize()

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

Definition at line 65 of file FspPlatformMemory.c.

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

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.

◆ FspSetNewStackFrame()

VOID EFIAPI FspSetNewStackFrame ( VOID  )

Set a new stack frame for the continuation function.

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

◆ ReadTemporaryRamSize()

VOID EFIAPI ReadTemporaryRamSize ( IN UINT32  TemporaryRamBase,
OUT UINT32 *  TemporaryRamSize 
)

Calculate TemporaryRam Size using Base address.

Parameters
[in]TemporaryRamBasethe address of target memory
[out]TemporaryRamSizethe size of target memory

Definition at line 132 of file FspPlatformMemory.c.