IntelFsp2WrapperPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
FspWrapperPlatformLib.h File Reference

Functions

VOID EFIAPI UpdateFspmUpdData (IN OUT VOID *FspUpdRgnPtr)
 
VOID EFIAPI UpdateFspsUpdData (IN OUT VOID *FspUpdRgnPtr)
 
VOID *EFIAPI UpdateTempRamExitParam (VOID)
 
EFI_STATUS EFIAPI GetS3MemoryInfo (OUT UINT64 *S3PeiMemSize, OUT EFI_PHYSICAL_ADDRESS *S3PeiMemBase)
 
VOID EFIAPI CallFspWrapperResetSystem (IN UINT32 FspStatusResetType)
 

Detailed Description

Provide FSP wrapper platform related function.

Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

VOID EFIAPI CallFspWrapperResetSystem ( IN UINT32  FspStatusResetType)

Perform platform related reset in FSP wrapper.

This function will reset the system with requested ResetType.

Parameters
[in]FspStatusResetTypeThe type of reset the platform has to perform.
EFI_STATUS EFIAPI GetS3MemoryInfo ( OUT UINT64 *  S3PeiMemSize,
OUT EFI_PHYSICAL_ADDRESS *  S3PeiMemBase 
)

Get S3 PEI memory information.

Note
At this point, memory is ready, and PeiServices are available to use. Platform can get some data from SMRAM directly.
Parameters
[out]S3PeiMemSizePEI memory size to be installed in S3 phase.
[out]S3PeiMemBasePEI memory base to be installed in S3 phase.
Returns
If S3 PEI memory information is got successfully.
VOID EFIAPI UpdateFspmUpdData ( IN OUT VOID *  FspUpdRgnPtr)

This function overrides the default configurations in the FSP-M UPD data region.

Parameters
[in,out]FspUpdRgnPtrA pointer to the UPD data region data structure.
VOID EFIAPI UpdateFspsUpdData ( IN OUT VOID *  FspUpdRgnPtr)

This function overrides the default configurations in the FSP-S UPD data region.

Parameters
[in,out]FspUpdRgnPtrA pointer to the UPD data region data structure.
VOID* EFIAPI UpdateTempRamExitParam ( VOID  )

Update TempRamExit parameter.

Note
At this point, memory is ready, PeiServices are available to use.
Returns
TempRamExit parameter.