2 Provide FSP wrapper platform related function.
4 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __FSP_WRAPPER_PLATFORM_LIB_H__
16 #define __FSP_WRAPPER_PLATFORM_LIB_H__
19 This function overrides the default configurations in the FSP-M UPD data region.
21 @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
27 IN OUT VOID
*FspUpdRgnPtr
31 This function overrides the default configurations in the FSP-S UPD data region.
33 @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
39 IN OUT VOID
*FspUpdRgnPtr
43 Update TempRamExit parameter.
45 @note At this point, memory is ready, PeiServices are available to use.
47 @return TempRamExit parameter.
51 UpdateTempRamExitParam (
56 Get S3 PEI memory information.
58 @note At this point, memory is ready, and PeiServices are available to use.
59 Platform can get some data from SMRAM directly.
61 @param[out] S3PeiMemSize PEI memory size to be installed in S3 phase.
62 @param[out] S3PeiMemBase PEI memory base to be installed in S3 phase.
64 @return If S3 PEI memory information is got successfully.
69 OUT UINT64
*S3PeiMemSize
,
70 OUT EFI_PHYSICAL_ADDRESS
*S3PeiMemBase
74 Perform platform related reset in FSP wrapper.
76 This function will reset the system with requested ResetType.
78 @param[in] FspStatusResetType The type of reset the platform has to perform.
82 CallFspWrapperResetSystem (
83 IN UINT32 FspStatusResetType