TianoCore EDK2 master
Loading...
Searching...
No Matches
FspWrapperPlatformLib.h File Reference

Go to the source code of this file.

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 EFI_STATUS 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

Definition in file FspWrapperPlatformLib.h.

Function Documentation

◆ CallFspWrapperResetSystem()

VOID EFIAPI CallFspWrapperResetSystem ( IN EFI_STATUS  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.

Definition at line 88 of file FspWrapperPlatformLibSample.c.

◆ GetS3MemoryInfo()

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.

Definition at line 71 of file FspWrapperPlatformLibSample.c.

◆ UpdateFspmUpdData()

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.

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

Note
At this point, memory is NOT ready, PeiServices are available to use.
Parameters
[in,out]FspUpdRgnPtrA pointer to the UPD data region data structure.

Definition at line 22 of file FspWrapperPlatformLibSample.c.

◆ UpdateFspsUpdData()

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.

Definition at line 36 of file FspWrapperPlatformLibSample.c.

◆ UpdateTempRamExitParam()

VOID *EFIAPI UpdateTempRamExitParam ( VOID  )

Update TempRamExit parameter.

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

Definition at line 51 of file FspWrapperPlatformLibSample.c.