TianoCore EDK2 master
Loading...
Searching...
No Matches
PeilessStartupInternal.h File Reference
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Uefi/UefiSpec.h>
#include <Uefi/UefiBaseType.h>
#include <IndustryStandard/IntelTdx.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI DxeLoadCore (IN INTN FvInstance)
 
EFI_STATUS EFIAPI FindDxeNonCc (IN INTN FvInstance)
 
VOID EFIAPI TransferHobList (IN CONST VOID *HobStart)
 
EFI_STATUS EFIAPI ConstructFwHobList (IN CONST VOID *VmmHobList)
 
EFI_STATUS EFIAPI ConstructSecHobList ()
 

Detailed Description

Copyright (c) 2021, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PeilessStartupInternal.h.

Function Documentation

◆ ConstructFwHobList()

EFI_STATUS EFIAPI ConstructFwHobList ( IN CONST VOID *  VmmHobList)

This function is to find a memory region which is the largest one below 4GB. It will be used as the firmware hoblist.

Parameters
VmmHobListVmm passed hoblist which constains the memory information.
Returns
EFI_SUCCESS Successfully construct the firmware hoblist.
EFI_NOT_FOUND Cannot find a memory region to be the fw hoblist.

This function is to find a memory region which is the largest one below 4GB. It will be used as the firmware hoblist.

Parameters
VmmHobListVmm passed hoblist which constains the memory information.
Returns
EFI_SUCCESS Successfully construct the firmware hoblist.

Definition at line 73 of file Hob.c.

◆ ConstructSecHobList()

EFI_STATUS EFIAPI ConstructSecHobList ( )

Construct the HobList in SEC phase.

Returns
EFI_SUCCESS Successfully construct the firmware hoblist.
EFI_NOT_FOUND Cannot find a memory region to be the fw hoblist.

Definition at line 34 of file Hob.c.

◆ DxeLoadCore()

EFI_STATUS EFIAPI DxeLoadCore ( IN INTN  FvInstance)

This function finds DXE Core in the firmware volume and transfer the control to DXE core.

Returns
EFI_SUCCESS DXE core was successfully loaded.
EFI_OUT_OF_RESOURCES There are not enough resources to load DXE core.

Definition at line 277 of file DxeLoad.c.

◆ FindDxeNonCc()

EFI_STATUS EFIAPI FindDxeNonCc ( IN INTN  FvInstance)

Find the NonCc FV.

Parameters
FvInstanceThe FvInstance number.
Returns
EFI_STATUS Successfuly find the NonCc FV.

Definition at line 186 of file DxeLoad.c.