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
37 Set a new stack frame for the continuation function.
47 This function transfer control back to BootLoader after FspSiliconInit.
57 This function returns control to BootLoader after MemoryInitApi.
59 @param[in,out] HobListPtr The address of HobList pointer.
64 IN OUT VOID
**HobListPtr
68 This function returns control to BootLoader after TempRamExitApi.
78 This function handle NotifyPhase API call from the BootLoader.
79 It gives control back to the BootLoader after it is handled. If the
80 Notification code is a ReadyToBoot event, this function will return
81 and FSP continues the remaining execution until it reaches the DxeIpl.
91 This function transfer control back to BootLoader after FspSiliconInit.
93 @param[in] Status return status for the FspSiliconInit.
102 This function returns control to BootLoader after MemoryInitApi.
104 @param[in] Status return status for the MemoryInitApi.
105 @param[in,out] HobListPtr The address of HobList pointer.
110 IN EFI_STATUS Status
,
111 IN OUT VOID
**HobListPtr
115 This function returns control to BootLoader after TempRamExitApi.
117 @param[in] Status return status for the TempRamExitApi.
121 FspTempRamExitDone2 (