/** @file
WheaErrorLog.c -- WheaErrorLog
Auto-converted from IDA decompiler output.
Functions: 1
Copyright (c) HR650X BIOS Decompilation Project
**/
#include "WheaErrorLog.h"
// Function: ModuleEntryPoint
EFI_STATUS
ModuleEntryPoint (
EFI_HANDLE ImageHandle,
EFI_SYSTEM_TABLE *SystemTable
)
{
signed __int64 Status; // rsi
// Constructor chain: sub_21C0() -> driver entry -> unload on failure.
sub_21C0();
Status = sub_25EC(ImageHandle, SystemTable);
if (Status < 0) {
sub_257C(ImageHandle, SystemTable);
}
return Status;
}