TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include <Library/PeiServicesTablePointerLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/HobLib.h>
#include <Library/PcdLib.h>
#include <Library/TimerLib.h>
#include <Library/PerformanceLib.h>
#include <Library/FspWrapperPlatformLib.h>
#include <Library/FspWrapperHobProcessLib.h>
#include <Library/FspWrapperMultiPhaseProcessLib.h>
#include <Library/FspWrapperApiLib.h>
#include <Library/FspMeasurementLib.h>
#include <Ppi/FspSiliconInitDone.h>
#include <Ppi/EndOfPeiPhase.h>
#include <Ppi/MemoryDiscovered.h>
#include <Ppi/SecPlatformInformation.h>
#include <Ppi/Tcg.h>
#include <Ppi/FirmwareVolumeInfoMeasurementExcluded.h>
#include <Library/FspWrapperApiTestLib.h>
#include <FspEas.h>
#include <FspStatusCode.h>
#include <FspGlobalData.h>
#include <Library/FspCommonLib.h>
#include <Guid/MigratedFvInfo.h>
Go to the source code of this file.
Functions | |
UINTN | GetFspmUpdDataAddress (VOID) |
EFI_STATUS | PeiFspMemoryInit (VOID) |
EFI_STATUS EFIAPI | FspmWrapperInit (VOID) |
EFI_STATUS EFIAPI | TcgPpiNotify (IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDesc, IN VOID *Ppi) |
EFI_STATUS EFIAPI | FspmWrapperPeimEntryPoint (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
EFI_GUID | gFspHobGuid |
EFI_PEI_NOTIFY_DESCRIPTOR | mTcgPpiNotifyDesc |
This will be invoked only once. It will call FspMemoryInit API, register TemporaryRamDonePpi to call TempRamExit API, and register MemoryDiscoveredPpi notify to call FspSiliconInit API.
Copyright (c) 2014 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspmWrapperPeim.c.
EFI_STATUS EFIAPI FspmWrapperInit | ( | VOID | ) |
Do FSP initialization.
Definition at line 191 of file FspmWrapperPeim.c.
EFI_STATUS EFIAPI FspmWrapperPeimEntryPoint | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
This is the entrypoint of PEIM
[in] | FileHandle | Handle of the file being invoked. |
[in] | PeiServices | Describes the list of possible PEI Services. |
EFI_SUCCESS | if it completed successfully. |
Definition at line 342 of file FspmWrapperPeim.c.
UINTN GetFspmUpdDataAddress | ( | VOID | ) |
Get the FSP M UPD Data address
Definition at line 51 of file FspmWrapperPeim.c.
EFI_STATUS PeiFspMemoryInit | ( | VOID | ) |
Call FspMemoryInit API.
Definition at line 68 of file FspmWrapperPeim.c.
EFI_STATUS EFIAPI TcgPpiNotify | ( | IN EFI_PEI_SERVICES ** | PeiServices, |
IN EFI_PEI_NOTIFY_DESCRIPTOR * | NotifyDesc, | ||
IN VOID * | Ppi | ||
) |
This function is called after TCG installed PPI.
[in] | PeiServices | Pointer to PEI Services Table. |
[in] | NotifyDesc | Pointer to the descriptor for the Notification event that caused this function to execute. |
[in] | Ppi | Pointer to the PPI data associated with this function. |
EFI_STATUS | Always return EFI_SUCCESS |
Definition at line 276 of file FspmWrapperPeim.c.
EFI_PEI_NOTIFY_DESCRIPTOR mTcgPpiNotifyDesc |
Definition at line 258 of file FspmWrapperPeim.c.