TianoCore EDK2 master
|
#include "PeiMain.h"
Go to the source code of this file.
Functions | |
PEICORE_FUNCTION_POINTER | ShadowPeiCore (IN PEI_CORE_INSTANCE *PrivateData) |
VOID EFIAPI | PeiCore (IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreDataPtr, IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList, IN VOID *Data) |
Variables | |
EFI_PEI_PPI_DESCRIPTOR | mMemoryDiscoveredPpi |
EFI_PEI_PPI_DESCRIPTOR | mMigrateTempRamPpi |
EFI_PEI_SERVICES | gPs |
Pei Core Main Entry Point
Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PeiMain.c.
VOID EFIAPI PeiCore | ( | IN CONST EFI_SEC_PEI_HAND_OFF * | SecCoreDataPtr, |
IN CONST EFI_PEI_PPI_DESCRIPTOR * | PpiList, | ||
IN VOID * | Data | ||
) |
This routine is invoked by main entry of PeiMain module during transition from SEC to PEI. After switching stack in the PEI core, it will restart with the old core data.
SecCoreDataPtr | Points to a data structure containing information about the PEI core's operating environment, such as the size and location of temporary RAM, the stack location and the BFV location. |
PpiList | Points to a list of one or more PPI descriptors to be installed initially by the PEI core. An empty PPI list consists of a single descriptor with the end-tag EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST. As part of its initialization phase, the PEI Foundation will add these SEC-hosted PPIs to its PPI database such that both the PEI Foundation and any modules can leverage the associated service calls and/or code in these early PPIs |
Data | Pointer to old core data that is used to initialize the core's data areas. If NULL, it is first PeiCore entering. |
PEICORE_FUNCTION_POINTER ShadowPeiCore | ( | IN PEI_CORE_INSTANCE * | PrivateData | ) |
EFI_PEI_SERVICES gPs |
EFI_PEI_PPI_DESCRIPTOR mMemoryDiscoveredPpi |
EFI_PEI_PPI_DESCRIPTOR mMigrateTempRamPpi |