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
42 Migrate BootLoader data before destroying CAR.
47 FspMigrateTemporaryMemory (
52 Set a new stack frame for the continuation function.
62 This function transfer control back to BootLoader after FspSiliconInit.
72 This function returns control to BootLoader after MemoryInitApi.
74 @param[in,out] HobListPtr The address of HobList pointer.
79 IN OUT VOID
**HobListPtr
83 This function returns control to BootLoader after TempRamExitApi.
93 This function handle NotifyPhase API call from the BootLoader.
94 It gives control back to the BootLoader after it is handled. If the
95 Notification code is a ReadyToBoot event, this function will return
96 and FSP continues the remaining execution until it reaches the DxeIpl.