TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeLoadFuncFit.c File Reference
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/HobLib.h>
#include <Library/FdtLib.h>
#include "X64/VirtualMemory.h"
#include "UefiPayloadEntry.h"

Go to the source code of this file.

Macros

#define STACK_SIZE   0x20000
 

Functions

VOID HandOffToDxeCore (IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint, IN EFI_PEI_HOB_POINTERS HobList)
 
EFI_STATUS EFIAPI _ModuleEntryPoint (IN UINTN BootloaderParameter)
 

Variables

VOID * mHobList
 

Detailed Description

x64-specifc functionality for DxeLoad.

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

Definition in file DxeLoadFuncFit.c.

Macro Definition Documentation

◆ STACK_SIZE

#define STACK_SIZE   0x20000

Definition at line 20 of file DxeLoadFuncFit.c.

Function Documentation

◆ _ModuleEntryPoint()

EFI_STATUS EFIAPI _ModuleEntryPoint ( IN UINTN  BootloaderParameter)

Entry point to the C language phase of UEFI payload.

Parameters
[in]BootloaderParameterThe starting address of bootloader parameter block.
Return values
Itwill not return if SUCCESS, and return error when passing bootloader parameter.

Definition at line 130 of file DxeLoadFuncFit.c.

◆ HandOffToDxeCore()

VOID HandOffToDxeCore ( IN EFI_PHYSICAL_ADDRESS  DxeCoreEntryPoint,
IN EFI_PEI_HOB_POINTERS  HobList 
)

Transfers control to DxeCore.

This function performs a CPU architecture specific operations to execute the entry point of DxeCore with the parameters of HobList. It also installs EFI_END_OF_PEI_PPI to signal the end of PEI phase.

Parameters
DxeCoreEntryPointThe entry point of DxeCore.
HobListThe start of HobList passed to DxeCore.

Definition at line 36 of file DxeLoadFuncFit.c.

Variable Documentation

◆ mHobList

VOID* mHobList
extern

Definition at line 25 of file HobLib.c.