Newer
Older
AMI-Aptio-BIOS-Reversed / CpPlatPkg / Whea / WheaErrorInj / WheaErrorInj.c
@Ajax Dong Ajax Dong 2 days ago 541 bytes Full restructure
/** @file
  WheaErrorInj.c -- WheaErrorInj

  Auto-converted from IDA decompiler output.
  Functions: 1

Copyright (c) HR650X BIOS Decompilation Project
**/

#include "WheaErrorInj.h"


// Function: ModuleEntryPoint
EFI_STATUS
ModuleEntryPoint (
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE *SystemTable
  )
{
  signed __int64 Status; // rbx

  // Constructor chain: sub_57C() -> driver entry -> unload on failure.
  sub_57C();
  Status = sub_A14(ImageHandle, SystemTable);
  if (Status < 0) {
    sub_4564();
  }

  return Status;
}