TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeMain.c File Reference
#include "DxeMain.h"

Go to the source code of this file.

Functions

VOID EFIAPI DxeMain (IN VOID *HobStart)
 
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg1 (UINTN Arg1)
 
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg2 (UINTN Arg1, UINTN Arg2)
 
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg3 (UINTN Arg1, UINTN Arg2, UINTN Arg3)
 
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg4 (UINTN Arg1, UINTN Arg2, UINTN Arg3, UINTN Arg4)
 
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg5 (UINTN Arg1, UINTN Arg2, UINTN Arg3, UINTN Arg4, UINTN Arg5)
 
VOID CalculateEfiHdrCrc (IN OUT EFI_TABLE_HEADER *Hdr)
 
EFI_STATUS EFIAPI CoreExitBootServices (IN EFI_HANDLE ImageHandle, IN UINTN MapKey)
 
EFI_STATUS EFIAPI DxeMainUefiDecompressGetInfo (IN EFI_DECOMPRESS_PROTOCOL *This, IN VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)
 
EFI_STATUS EFIAPI DxeMainUefiDecompress (IN EFI_DECOMPRESS_PROTOCOL *This, IN VOID *Source, IN UINT32 SourceSize, IN OUT VOID *Destination, IN UINT32 DestinationSize, IN OUT VOID *Scratch, IN UINT32 ScratchSize)
 

Variables

EFI_HANDLE mDecompressHandle = NULL
 
EFI_SECURITY_ARCH_PROTOCOLgSecurity = NULL
 
EFI_SECURITY2_ARCH_PROTOCOLgSecurity2 = NULL
 
EFI_CPU_ARCH_PROTOCOLgCpu = NULL
 
EFI_METRONOME_ARCH_PROTOCOLgMetronome = NULL
 
EFI_TIMER_ARCH_PROTOCOLgTimer = NULL
 
EFI_BDS_ARCH_PROTOCOLgBds = NULL
 
EFI_WATCHDOG_TIMER_ARCH_PROTOCOLgWatchdogTimer = NULL
 
EFI_SMM_BASE2_PROTOCOLgSmmBase2 = NULL
 
EFI_GUIDgDxeCoreFileName
 
EFI_LOADED_IMAGE_PROTOCOLgDxeCoreLoadedImage
 
EFI_BOOT_SERVICES mBootServices
 
EFI_DXE_SERVICES mDxeServices
 
EFI_SYSTEM_TABLE mEfiSystemTableTemplate
 
EFI_RUNTIME_SERVICES mEfiRuntimeServicesTableTemplate
 
EFI_RUNTIME_ARCH_PROTOCOL gRuntimeTemplate
 
EFI_RUNTIME_ARCH_PROTOCOLgRuntime = &gRuntimeTemplate
 
EFI_DXE_SERVICESgDxeCoreDS = &mDxeServices
 
EFI_SYSTEM_TABLEgDxeCoreST = NULL
 
EFI_RUNTIME_SERVICESgDxeCoreRT = &mEfiRuntimeServicesTableTemplate
 
EFI_HANDLE gDxeCoreImageHandle = NULL
 
BOOLEAN gMemoryMapTerminated = FALSE
 
EFI_DECOMPRESS_PROTOCOL gEfiDecompress
 
GLOBAL_REMOVE_IF_UNREFERENCED EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE gLoadModuleAtFixAddressConfigurationTable = { 0, 0 }
 

Detailed Description

DXE Core Main Entry Point

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

Definition in file DxeMain.c.

Function Documentation

◆ CalculateEfiHdrCrc()

VOID CalculateEfiHdrCrc ( IN OUT EFI_TABLE_HEADER Hdr)

Calcualte the 32-bit CRC in a EFI table using the service provided by the gRuntime service.

Parameters
HdrPointer to an EFI standard header

Definition at line 741 of file DxeMain.c.

◆ CoreEfiNotAvailableYetArg1()

EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg1 ( UINTN  Arg1)

Place holder function until all the Boot Services and Runtime Services are available.

Parameters
Arg1Undefined
Returns
EFI_NOT_AVAILABLE_YET

Definition at line 608 of file DxeMain.c.

◆ CoreEfiNotAvailableYetArg2()

EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg2 ( UINTN  Arg1,
UINTN  Arg2 
)

Place holder function until all the Boot Services and Runtime Services are available.

Parameters
Arg1Undefined
Arg2Undefined
Returns
EFI_NOT_AVAILABLE_YET

Definition at line 632 of file DxeMain.c.

◆ CoreEfiNotAvailableYetArg3()

EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg3 ( UINTN  Arg1,
UINTN  Arg2,
UINTN  Arg3 
)

Place holder function until all the Boot Services and Runtime Services are available.

Parameters
Arg1Undefined
Arg2Undefined
Arg3Undefined
Returns
EFI_NOT_AVAILABLE_YET

Definition at line 658 of file DxeMain.c.

◆ CoreEfiNotAvailableYetArg4()

EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg4 ( UINTN  Arg1,
UINTN  Arg2,
UINTN  Arg3,
UINTN  Arg4 
)

Place holder function until all the Boot Services and Runtime Services are available.

Parameters
Arg1Undefined
Arg2Undefined
Arg3Undefined
Arg4Undefined
Returns
EFI_NOT_AVAILABLE_YET

Definition at line 686 of file DxeMain.c.

◆ CoreEfiNotAvailableYetArg5()

EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg5 ( UINTN  Arg1,
UINTN  Arg2,
UINTN  Arg3,
UINTN  Arg4,
UINTN  Arg5 
)

Place holder function until all the Boot Services and Runtime Services are available.

Parameters
Arg1Undefined
Arg2Undefined
Arg3Undefined
Arg4Undefined
Arg5Undefined
Returns
EFI_NOT_AVAILABLE_YET

Definition at line 716 of file DxeMain.c.

◆ CoreExitBootServices()

EFI_STATUS EFIAPI CoreExitBootServices ( IN EFI_HANDLE  ImageHandle,
IN UINTN  MapKey 
)

Terminates all boot services.

Parameters
ImageHandleHandle that identifies the exiting image.
MapKeyKey to the latest memory map.
Return values
EFI_SUCCESSBoot Services terminated
EFI_INVALID_PARAMETERMapKey is incorrect.

Definition at line 770 of file DxeMain.c.

◆ DxeMain()

VOID EFIAPI DxeMain ( IN VOID *  HobStart)

Main entry point to DXE Core.

Parameters
HobStartPointer to the beginning of the HOB List from PEI.
Returns
This function should never return.

Definition at line 233 of file DxeMain.c.

◆ DxeMainUefiDecompress()

EFI_STATUS EFIAPI DxeMainUefiDecompress ( IN EFI_DECOMPRESS_PROTOCOL This,
IN VOID *  Source,
IN UINT32  SourceSize,
IN OUT VOID *  Destination,
IN UINT32  DestinationSize,
IN OUT VOID *  Scratch,
IN UINT32  ScratchSize 
)

Decompresses a compressed source buffer.

The Decompress() function extracts decompressed data to its original form. This protocol is designed so that the decompression algorithm can be implemented without using any memory services. As a result, the Decompress() Function is not allowed to call AllocatePool() or AllocatePages() in its implementation. It is the caller's responsibility to allocate and free the Destination and Scratch buffers. If the compressed source data specified by Source and SourceSize is successfully decompressed into Destination, then EFI_SUCCESS is returned. If the compressed source data specified by Source and SourceSize is not in a valid compressed data format, then EFI_INVALID_PARAMETER is returned.

Parameters
ThisA pointer to the EFI_DECOMPRESS_PROTOCOL instance.
SourceThe source buffer containing the compressed data.
SourceSizeSourceSizeThe size of source data.
DestinationOn output, the destination buffer that contains the uncompressed data.
DestinationSizeThe size of the destination buffer. The size of the destination buffer needed is obtained from EFI_DECOMPRESS_PROTOCOL.GetInfo().
ScratchA temporary scratch buffer that is used to perform the decompression.
ScratchSizeThe size of scratch buffer. The size of the scratch buffer needed is obtained from GetInfo().
Return values
EFI_SUCCESSDecompression completed successfully, and the uncompressed buffer is returned in Destination.
EFI_INVALID_PARAMETERThe source buffer specified by Source and SourceSize is corrupted (not in a valid compressed format).

Definition at line 949 of file DxeMain.c.

◆ DxeMainUefiDecompressGetInfo()

EFI_STATUS EFIAPI DxeMainUefiDecompressGetInfo ( IN EFI_DECOMPRESS_PROTOCOL This,
IN VOID *  Source,
IN UINT32  SourceSize,
OUT UINT32 *  DestinationSize,
OUT UINT32 *  ScratchSize 
)

Given a compressed source buffer, this function retrieves the size of the uncompressed buffer and the size of the scratch buffer required to decompress the compressed source buffer.

The GetInfo() function retrieves the size of the uncompressed buffer and the temporary scratch buffer required to decompress the buffer specified by Source and SourceSize. If the size of the uncompressed buffer or the size of the scratch buffer cannot be determined from the compressed data specified by Source and SourceData, then EFI_INVALID_PARAMETER is returned. Otherwise, the size of the uncompressed buffer is returned in DestinationSize, the size of the scratch buffer is returned in ScratchSize, and EFI_SUCCESS is returned. The GetInfo() function does not have scratch buffer available to perform a thorough checking of the validity of the source data. It just retrieves the "Original Size" field from the beginning bytes of the source data and output it as DestinationSize. And ScratchSize is specific to the decompression implementation.

Parameters
ThisA pointer to the EFI_DECOMPRESS_PROTOCOL instance.
SourceThe source buffer containing the compressed data.
SourceSizeThe size, in bytes, of the source buffer.
DestinationSizeA pointer to the size, in bytes, of the uncompressed buffer that will be generated when the compressed buffer specified by Source and SourceSize is decompressed.
ScratchSizeA pointer to the size, in bytes, of the scratch buffer that is required to decompress the compressed buffer specified by Source and SourceSize.
Return values
EFI_SUCCESSThe size of the uncompressed data was returned in DestinationSize and the size of the scratch buffer was returned in ScratchSize.
EFI_INVALID_PARAMETERThe size of the uncompressed data or the size of the scratch buffer cannot be determined from the compressed data specified by Source and SourceSize.

Definition at line 898 of file DxeMain.c.

Variable Documentation

◆ gBds

Definition at line 24 of file DxeMain.c.

◆ gCpu

Definition at line 21 of file DxeMain.c.

◆ gDxeCoreDS

EFI_DXE_SERVICES* gDxeCoreDS = &mDxeServices

Definition at line 193 of file DxeMain.c.

◆ gDxeCoreFileName

EFI_GUID* gDxeCoreFileName

Definition at line 35 of file DxeMain.c.

◆ gDxeCoreImageHandle

EFI_HANDLE gDxeCoreImageHandle = NULL

Definition at line 202 of file DxeMain.c.

◆ gDxeCoreLoadedImage

EFI_LOADED_IMAGE_PROTOCOL* gDxeCoreLoadedImage

Definition at line 36 of file DxeMain.c.

◆ gDxeCoreRT

EFI_RUNTIME_SERVICES* gDxeCoreRT = &mEfiRuntimeServicesTableTemplate

Definition at line 201 of file DxeMain.c.

◆ gDxeCoreST

EFI_SYSTEM_TABLE* gDxeCoreST = NULL

Definition at line 194 of file DxeMain.c.

◆ gEfiDecompress

EFI_DECOMPRESS_PROTOCOL gEfiDecompress
Initial value:
= {
}
EFI_STATUS EFIAPI DxeMainUefiDecompress(IN EFI_DECOMPRESS_PROTOCOL *This, IN VOID *Source, IN UINT32 SourceSize, IN OUT VOID *Destination, IN UINT32 DestinationSize, IN OUT VOID *Scratch, IN UINT32 ScratchSize)
Definition: DxeMain.c:949
EFI_STATUS EFIAPI DxeMainUefiDecompressGetInfo(IN EFI_DECOMPRESS_PROTOCOL *This, IN VOID *Source, IN UINT32 SourceSize, OUT UINT32 *DestinationSize, OUT UINT32 *ScratchSize)
Definition: DxeMain.c:898

Definition at line 209 of file DxeMain.c.

◆ gLoadModuleAtFixAddressConfigurationTable

GLOBAL_REMOVE_IF_UNREFERENCED EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE gLoadModuleAtFixAddressConfigurationTable = { 0, 0 }

Definition at line 218 of file DxeMain.c.

◆ gMemoryMapTerminated

BOOLEAN gMemoryMapTerminated = FALSE

Definition at line 204 of file DxeMain.c.

◆ gMetronome

Interface structure for the Metronome Architectural Protocol.

Protocol Description:
This protocol provides access to a known time source in the platform to the core. The core uses this known time source to produce core services that require calibrated delays.
Parameters
WaitForTickWaits for a specified number of ticks from a known time source in the platform. The actual time passed between entry of this function and the first tick is between 0 and TickPeriod 100 nS units. If you want to guarantee that at least TickPeriod time has elapsed, wait for two ticks.
TickPeriodThe period of platform's known time source in 100 nS units. This value on any platform must not exceed 200 uS. The value in this field is a constant that must not be modified after the Metronome architectural protocol is installed. All consumers must treat this as a read-only field.

Definition at line 22 of file DxeMain.c.

◆ gRuntime

EFI_RUNTIME_ARCH_PROTOCOL* gRuntime = &gRuntimeTemplate

Definition at line 187 of file DxeMain.c.

◆ gRuntimeTemplate

EFI_RUNTIME_ARCH_PROTOCOL gRuntimeTemplate
Initial value:
= {
sizeof (EFI_MEMORY_DESCRIPTOR) + sizeof (UINT64) - (sizeof (EFI_MEMORY_DESCRIPTOR) % sizeof (UINT64)),
0,
}
#define INITIALIZE_LIST_HEAD_VARIABLE(ListHead)
Definition: BaseLib.h:2904
#define NULL
Definition: Base.h:319
#define FALSE
Definition: Base.h:307
#define EFI_MEMORY_DESCRIPTOR_VERSION
Definition: UefiSpec.h:138
EFI_LIST_ENTRY EventHead
A list of type EFI_RUNTIME_EVENT_ENTRY.
Definition: Runtime.h:109
EFI_LIST_ENTRY ImageHead
A list of type EFI_RUNTIME_IMAGE_ENTRY.
Definition: Runtime.h:108

Definition at line 169 of file DxeMain.c.

◆ gSecurity

Definition at line 19 of file DxeMain.c.

◆ gSecurity2

Definition at line 20 of file DxeMain.c.

◆ gSmmBase2

Definition at line 30 of file DxeMain.c.

◆ gTimer

Interface structure for the Timer Architectural Protocol.

Protocol Description:
This protocol provides the services to initialize a periodic timer interrupt, and to register a handler that is called each time the timer interrupt fires. It may also provide a service to adjust the rate of the periodic timer interrupt. When a timer interrupt occurs, the handler is passed the amount of time that has passed since the previous timer interrupt.
Parameters
RegisterHandlerRegisters a handler that will be called each time the timer interrupt fires. TimerPeriod defines the minimum time between timer interrupts, so TimerPeriod will also be the minimum time between calls to the registered handler.
SetTimerPeriodSets the period of the timer interrupt in 100 nS units. This function is optional, and may return EFI_UNSUPPORTED. If this function is supported, then the timer period will be rounded up to the nearest supported timer period.
GetTimerPeriodRetrieves the period of the timer interrupt in 100 nS units.
GenerateSoftInterruptGenerates a soft timer interrupt that simulates the firing of the timer interrupt. This service can be used to invoke the registered handler if the timer interrupt has been masked for a period of time.

Definition at line 23 of file DxeMain.c.

◆ gWatchdogTimer

Definition at line 25 of file DxeMain.c.

◆ mBootServices

EFI_BOOT_SERVICES mBootServices

Definition at line 41 of file DxeMain.c.

◆ mDecompressHandle

EFI_HANDLE mDecompressHandle = NULL

Definition at line 14 of file DxeMain.c.

◆ mDxeServices

EFI_DXE_SERVICES mDxeServices
Initial value:
= {
{
DXE_SERVICES_SIGNATURE,
DXE_SERVICES_REVISION,
sizeof (DXE_SERVICES),
0,
0
},
}
EFI_STATUS EFIAPI CoreFreeIoSpace(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: Gcd.c:1931
EFI_STATUS EFIAPI CoreGetIoSpaceDescriptor(IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor)
Definition: Gcd.c:1995
EFI_STATUS EFIAPI CoreGetIoSpaceMap(OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap)
Definition: Gcd.c:2047
EFI_STATUS EFIAPI CoreGetMemorySpaceDescriptor(IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor)
Definition: Gcd.c:1617
EFI_STATUS EFIAPI CoreAddMemorySpace(IN EFI_GCD_MEMORY_TYPE GcdMemoryType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Capabilities)
Definition: Gcd.c:1478
EFI_STATUS EFIAPI CoreFreeMemorySpace(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: Gcd.c:1551
EFI_STATUS EFIAPI CoreRemoveMemorySpace(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: Gcd.c:1573
EFI_STATUS EFIAPI CoreSetMemorySpaceCapabilities(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Capabilities)
Definition: Gcd.c:1711
EFI_STATUS EFIAPI CoreProcessFirmwareVolume(IN VOID *FvHeader, IN UINTN Size, OUT EFI_HANDLE *FVProtocolHandle)
Definition: FwVolBlock.c:676
EFI_STATUS EFIAPI CoreAddIoSpace(IN EFI_GCD_IO_TYPE GcdIoType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: Gcd.c:1846
EFI_STATUS EFIAPI CoreSetMemorySpaceAttributes(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes)
Definition: Gcd.c:1680
EFI_STATUS EFIAPI CoreGetMemorySpaceMap(OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap)
Definition: Gcd.c:1737
EFI_STATUS EFIAPI CoreAllocateIoSpace(IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType, IN EFI_GCD_IO_TYPE GcdIoType, IN UINTN Alignment, IN UINT64 Length, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL)
Definition: Gcd.c:1884
EFI_STATUS EFIAPI CoreRemoveIoSpace(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: Gcd.c:1953
EFI_STATUS EFIAPI CoreAllocateMemorySpace(IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType, IN EFI_GCD_MEMORY_TYPE GcdMemoryType, IN UINTN Alignment, IN UINT64 Length, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL)
Definition: Gcd.c:1429
EFI_STATUS EFIAPI CoreSchedule(IN EFI_HANDLE FirmwareVolumeHandle, IN EFI_GUID *DriverName)
Definition: Dispatcher.c:301
EFI_STATUS EFIAPI CoreDispatcher(VOID)
Definition: Dispatcher.c:400
EFI_STATUS EFIAPI CoreTrust(IN EFI_HANDLE FirmwareVolumeHandle, IN EFI_GUID *DriverName)
Definition: Dispatcher.c:351
EFI_STATUS(EFIAPI * EFI_SET_MEMORY_SPACE_CAPABILITIES)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Capabilities)
Definition: PiDxeCis.h:414
EFI_STATUS(EFIAPI * EFI_SCHEDULE)(IN EFI_HANDLE FirmwareVolumeHandle, IN CONST EFI_GUID *FileName)
Definition: PiDxeCis.h:641
EFI_STATUS(EFIAPI * EFI_FREE_IO_SPACE)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: PiDxeCis.h:530
EFI_STATUS(EFIAPI * EFI_GET_MEMORY_SPACE_MAP)(OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap)
Definition: PiDxeCis.h:437
EFI_STATUS(EFIAPI * EFI_PROCESS_FIRMWARE_VOLUME)(IN CONST VOID *FirmwareVolumeHeader, IN UINTN Size, OUT EFI_HANDLE *FirmwareVolumeHandle)
Definition: PiDxeCis.h:684
EFI_STATUS(EFIAPI * EFI_SET_MEMORY_SPACE_ATTRIBUTES)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes)
Definition: PiDxeCis.h:389
EFI_STATUS(EFIAPI * EFI_ADD_MEMORY_SPACE)(IN EFI_GCD_MEMORY_TYPE GcdMemoryType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Capabilities)
Definition: PiDxeCis.h:245
EFI_STATUS(EFIAPI * EFI_REMOVE_IO_SPACE)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: PiDxeCis.h:560
EFI_STATUS(EFIAPI * EFI_GET_IO_SPACE_MAP)(OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap)
Definition: PiDxeCis.h:601
EFI_STATUS(EFIAPI * EFI_DISPATCH)(VOID)
Definition: PiDxeCis.h:624
EFI_STATUS(EFIAPI * EFI_FREE_MEMORY_SPACE)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: PiDxeCis.h:314
EFI_STATUS(EFIAPI * EFI_REMOVE_MEMORY_SPACE)(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: PiDxeCis.h:342
EFI_STATUS(EFIAPI * EFI_ALLOCATE_MEMORY_SPACE)(IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType, IN EFI_GCD_MEMORY_TYPE GcdMemoryType, IN UINTN Alignment, IN UINT64 Length, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL)
Definition: PiDxeCis.h:284
EFI_STATUS(EFIAPI * EFI_TRUST)(IN EFI_HANDLE FirmwareVolumeHandle, IN CONST EFI_GUID *FileName)
Definition: PiDxeCis.h:659
EFI_STATUS(EFIAPI * EFI_ALLOCATE_IO_SPACE)(IN EFI_GCD_ALLOCATE_TYPE GcdAllocateType, IN EFI_GCD_IO_TYPE GcdIoType, IN UINTN Alignment, IN UINT64 Length, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL)
Definition: PiDxeCis.h:500
EFI_STATUS(EFIAPI * EFI_ADD_IO_SPACE)(IN EFI_GCD_IO_TYPE GcdIoType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length)
Definition: PiDxeCis.h:468
EFI_STATUS(EFIAPI * EFI_GET_IO_SPACE_DESCRIPTOR)(IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor)
Definition: PiDxeCis.h:579
EFI_STATUS(EFIAPI * EFI_GET_MEMORY_SPACE_DESCRIPTOR)(IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor)
Definition: PiDxeCis.h:361

Definition at line 95 of file DxeMain.c.

◆ mEfiRuntimeServicesTableTemplate

EFI_RUNTIME_SERVICES mEfiRuntimeServicesTableTemplate
Initial value:
= {
{
EFI_RUNTIME_SERVICES_SIGNATURE,
EFI_RUNTIME_SERVICES_REVISION,
0,
0
},
}
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg5(UINTN Arg1, UINTN Arg2, UINTN Arg3, UINTN Arg4, UINTN Arg5)
Definition: DxeMain.c:716
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg1(UINTN Arg1)
Definition: DxeMain.c:608
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg4(UINTN Arg1, UINTN Arg2, UINTN Arg3, UINTN Arg4)
Definition: DxeMain.c:686
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg2(UINTN Arg1, UINTN Arg2)
Definition: DxeMain.c:632
EFI_STATUS EFIAPI CoreEfiNotAvailableYetArg3(UINTN Arg1, UINTN Arg2, UINTN Arg3)
Definition: DxeMain.c:658
EFI_STATUS(EFIAPI * EFI_GET_VARIABLE)(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, OUT UINT32 *Attributes OPTIONAL, IN OUT UINTN *DataSize, OUT VOID *Data OPTIONAL)
Definition: UefiSpec.h:696
EFI_STATUS(EFIAPI * EFI_GET_NEXT_HIGH_MONO_COUNT)(OUT UINT32 *HighCount)
Definition: UefiSpec.h:1127
EFI_STATUS(EFIAPI * EFI_SET_TIME)(IN EFI_TIME *Time)
Definition: UefiSpec.h:856
EFI_STATUS(EFIAPI * EFI_CONVERT_POINTER)(IN UINTN DebugDisposition, IN OUT VOID **Address)
Definition: UefiSpec.h:428
EFI_STATUS(EFIAPI * EFI_SET_VARIABLE)(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINT32 Attributes, IN UINTN DataSize, IN VOID *Data)
Definition: UefiSpec.h:781
EFI_STATUS(EFIAPI * EFI_QUERY_VARIABLE_INFO)(IN UINT32 Attributes, OUT UINT64 *MaximumVariableStorageSize, OUT UINT64 *RemainingVariableStorageSize, OUT UINT64 *MaximumVariableSize)
Definition: UefiSpec.h:1821
EFI_STATUS(EFIAPI * EFI_UPDATE_CAPSULE)(IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN UINTN CapsuleCount, IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL)
Definition: UefiSpec.h:1756
EFI_STATUS(EFIAPI * EFI_GET_TIME)(OUT EFI_TIME *Time, OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL)
Definition: UefiSpec.h:836
VOID(EFIAPI * EFI_RESET_SYSTEM)(IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL)
Definition: UefiSpec.h:1089
EFI_STATUS(EFIAPI * EFI_SET_VIRTUAL_ADDRESS_MAP)(IN UINTN MemoryMapSize, IN UINTN DescriptorSize, IN UINT32 DescriptorVersion, IN EFI_MEMORY_DESCRIPTOR *VirtualMap)
Definition: UefiSpec.h:330
EFI_STATUS(EFIAPI * EFI_SET_WAKEUP_TIME)(IN BOOLEAN Enable, IN EFI_TIME *Time OPTIONAL)
Definition: UefiSpec.h:903
EFI_STATUS(EFIAPI * EFI_QUERY_CAPSULE_CAPABILITIES)(IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN UINTN CapsuleCount, OUT UINT64 *MaximumCapsuleSize, OUT EFI_RESET_TYPE *ResetType)
Definition: UefiSpec.h:1790
EFI_STATUS(EFIAPI * EFI_GET_WAKEUP_TIME)(OUT BOOLEAN *Enabled, OUT BOOLEAN *Pending, OUT EFI_TIME *Time)
Definition: UefiSpec.h:879
EFI_STATUS(EFIAPI * EFI_GET_NEXT_VARIABLE_NAME)(IN OUT UINTN *VariableNameSize, IN OUT CHAR16 *VariableName, IN OUT EFI_GUID *VendorGuid)
Definition: UefiSpec.h:736

Definition at line 145 of file DxeMain.c.

◆ mEfiSystemTableTemplate

EFI_SYSTEM_TABLE mEfiSystemTableTemplate
Initial value:
= {
{
EFI_SYSTEM_TABLE_SIGNATURE,
EFI_SYSTEM_TABLE_REVISION,
sizeof (EFI_SYSTEM_TABLE),
0,
0
},
NULL,
0,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
&mBootServices,
0,
}

Definition at line 123 of file DxeMain.c.