3 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
8 #ifndef _FSP_PLATFORM_LIB_H_
9 #define _FSP_PLATFORM_LIB_H_
12 Get system memory resource descriptor by owner.
14 @param[in] OwnerGuid resource owner guid
16 EFI_HOB_RESOURCE_DESCRIPTOR
*
18 FspGetResourceDescriptorByOwner (
19 IN EFI_GUID
*OwnerGuid
23 Get system memory from HOB.
25 @param[in,out] LowMemoryLength less than 4G memory length
26 @param[in,out] HighMemoryLength greater than 4G memory length
30 FspGetSystemMemorySize (
31 IN OUT UINT64
*LowMemoryLength
,
32 IN OUT UINT64
*HighMemoryLength
36 Set a new stack frame for the continuation function.
46 This function transfer control back to BootLoader after FspSiliconInit.
56 This function returns control to BootLoader after MemoryInitApi.
58 @param[in,out] HobListPtr The address of HobList pointer.
63 IN OUT VOID
**HobListPtr
67 This function returns control to BootLoader after TempRamExitApi.
77 This function handle NotifyPhase API call from the BootLoader.
78 It gives control back to the BootLoader after it is handled. If the
79 Notification code is a ReadyToBoot event, this function will return
80 and FSP continues the remaining execution until it reaches the DxeIpl.
90 This function transfer control back to BootLoader after FspSiliconInit.
92 @param[in] Status return status for the FspSiliconInit.
101 This function returns control to BootLoader after MemoryInitApi.
103 @param[in] Status return status for the MemoryInitApi.
104 @param[in,out] HobListPtr The address of HobList pointer.
109 IN EFI_STATUS Status
,
110 IN OUT VOID
**HobListPtr
114 This function returns control to BootLoader after TempRamExitApi.
116 @param[in] Status return status for the TempRamExitApi.
120 FspTempRamExitDone2 (