/** @file
TlsDxe.c -- TlsDxe
Auto-converted from IDA decompiler output.
Functions: 1
Copyright (c) HR650X BIOS Decompilation Project
**/
#include "TlsDxe.h"
/**
Module entry point for the TLS DXE driver.
**/
EFI_STATUS
EFIAPI
ModuleEntryPoint (
EFI_HANDLE ImageHandle,
EFI_SYSTEM_TABLE *SystemTable
)
{
__int64 Status;
__int64 LoadedImageProtocol;
InitializeUefiLibrary ((__int64)ImageHandle, SystemTable);
Status = (*(__int64 ( **)(EFI_HANDLE, void *, __int64 *))(BootServices + 152))(
ImageHandle,
&unk_17E8E0,
&LoadedImageProtocol
);
if ( Status < 0 ) {
DebugPrintStatus (0x80000000LL, "
ASSERT_EFI_ERROR (Status = %r)
", Status);
AssertFailedFromDriverEntryPoint ("e:\\hs\\MdePkg\\Library\\UefiDriverEntryPoint\\DriverEntryPoint.c", 126, "!EFI_ERROR (Status)");
}
*(_QWORD *)(LoadedImageProtocol + 88) = TlsDxeUnload;
return ReturnFromModuleEntry (ImageHandle);
}