/** @file
EbcDxe.c -- EbcDxe
Auto-converted from IDA decompiler output.
Functions: 1
Copyright (c) HR650X BIOS Decompilation Project
**/
#include "EbcDxe.h"
STATIC EFI_HANDLE mImageHandle = NULL;
STATIC EFI_SYSTEM_TABLE *mSystemTable = NULL;
STATIC EFI_BOOT_SERVICES *mBootServices = NULL;
STATIC EFI_RUNTIME_SERVICES *mRuntimeServices = NULL;
// Function: ModuleEntryPoint
EFI_STATUS
EFIAPI
ModuleEntryPoint (
EFI_HANDLE ImageHandle,
EFI_SYSTEM_TABLE *SystemTable
)
{
mImageHandle = ImageHandle;
if ( !ImageHandle )
ReportLibraryPointerAssert (
"e:\\hs\\MdePkg\\Library\\UefiBootServicesTableLib\\UefiBootServicesTableLib.c",
51,
"gImageHandle != ((void *) 0)");
mSystemTable = SystemTable;
if ( !SystemTable )
ReportLibraryPointerAssert (
"e:\\hs\\MdePkg\\Library\\UefiBootServicesTableLib\\UefiBootServicesTableLib.c",
57,
"gST != ((void *) 0)");
mBootServices = SystemTable->BootServices;
if ( !mBootServices )
ReportLibraryPointerAssert (
"e:\\hs\\MdePkg\\Library\\UefiBootServicesTableLib\\UefiBootServicesTableLib.c",
63,
"gBS != ((void *) 0)");
mRuntimeServices = SystemTable->RuntimeServices;
if ( !mRuntimeServices )
ReportLibraryPointerAssert (
"e:\\hs\\MdePkg\\Library\\UefiRuntimeServicesTableLib\\UefiRuntimeServicesTableLib.c",
47,
"gRT != ((void *) 0)");
InitializeUefiLibraryGlobals ();
return InitializeEbcGraphicsConsole (ImageHandle);
}