2 Provide FSP wrapper platform related function.
4 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __FSP_WRAPPER_PLATFORM_LIB_H__
10 #define __FSP_WRAPPER_PLATFORM_LIB_H__
13 This function overrides the default configurations in the FSP-M UPD data region.
15 @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
21 IN OUT VOID
*FspUpdRgnPtr
25 This function overrides the default configurations in the FSP-S UPD data region.
27 @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
33 IN OUT VOID
*FspUpdRgnPtr
37 Update TempRamExit parameter.
39 @note At this point, memory is ready, PeiServices are available to use.
41 @return TempRamExit parameter.
45 UpdateTempRamExitParam (
50 Get S3 PEI memory information.
52 @note At this point, memory is ready, and PeiServices are available to use.
53 Platform can get some data from SMRAM directly.
55 @param[out] S3PeiMemSize PEI memory size to be installed in S3 phase.
56 @param[out] S3PeiMemBase PEI memory base to be installed in S3 phase.
58 @return If S3 PEI memory information is got successfully.
63 OUT UINT64
*S3PeiMemSize
,
64 OUT EFI_PHYSICAL_ADDRESS
*S3PeiMemBase
68 Perform platform related reset in FSP wrapper.
70 This function will reset the system with requested ResetType.
72 @param[in] FspStatusResetType The type of reset the platform has to perform.
76 CallFspWrapperResetSystem (
77 IN UINT32 FspStatusResetType