/** @file MainErrorHandler.h -- Header for MainErrorHandler Copyright (c) HR650X BIOS Decompilation Project **/ #ifndef __MAINERRORHANDLER_H__ #define __MAINERRORHANDLER_H__ #include "../uefi_headers/Uefi.h" // // Module split: this header owns the public entry and cross-file callback // registration helpers for MainErrorHandler. // // // Function Prototypes // /// /// ModuleEntryPoint -- UEFI entry point / initialization function /// EFI_STATUS EFIAPI ModuleEntryPoint( EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable ); /// /// InitMainErrorHandlerLibraries -- library constructor chain initialization /// for gST/gBS/gRT/gSmst and related global protocol pointers. /// EFI_STATUS EFIAPI InitMainErrorHandlerLibraries( VOID ); /// /// RegisterMainErrorHandlerCallbacks -- main error handler registration and setup. /// EFI_STATUS EFIAPI RegisterMainErrorHandlerCallbacks( EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable ); /// /// UnregisterMainErrorHandlerCallbacks -- cleanup and unload handlers when init fails. /// EFI_STATUS EFIAPI UnregisterMainErrorHandlerCallbacks( EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable ); #endif /* __MAINERRORHANDLER_H__ */