3 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php.
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #ifndef _FSP_PLATFORM_LIB_H_
15 #define _FSP_PLATFORM_LIB_H_
18 Get system memory resource descriptor by owner.
20 @param[in] OwnerGuid resource owner guid
22 EFI_HOB_RESOURCE_DESCRIPTOR
*
24 FspGetResourceDescriptorByOwner (
25 IN EFI_GUID
*OwnerGuid
29 Get system memory from HOB.
31 @param[in,out] LowMemoryLength less than 4G memory length
32 @param[in,out] HighMemoryLength greater than 4G memory length
36 FspGetSystemMemorySize (
37 IN OUT UINT64
*LowMemoryLength
,
38 IN OUT UINT64
*HighMemoryLength
43 Set a new stack frame for the continuation function.
53 This function transfer control back to BootLoader after FspSiliconInit.
63 This function returns control to BootLoader after MemoryInitApi.
65 @param[in,out] HobListPtr The address of HobList pointer.
70 IN OUT VOID
**HobListPtr
74 This function returns control to BootLoader after TempRamExitApi.
84 This function handle NotifyPhase API call from the BootLoader.
85 It gives control back to the BootLoader after it is handled. If the
86 Notification code is a ReadyToBoot event, this function will return
87 and FSP continues the remaining execution until it reaches the DxeIpl.
97 This function transfer control back to BootLoader after FspSiliconInit.
99 @param[in] Status return status for the FspSiliconInit.
103 FspSiliconInitDone2 (
108 This function returns control to BootLoader after MemoryInitApi.
110 @param[in] Status return status for the MemoryInitApi.
111 @param[in,out] HobListPtr The address of HobList pointer.
116 IN EFI_STATUS Status
,
117 IN OUT VOID
**HobListPtr
121 This function returns control to BootLoader after TempRamExitApi.
123 @param[in] Status return status for the TempRamExitApi.
127 FspTempRamExitDone2 (