Index: 0216 | Size: 25,584 bytes (152,960 body) | Phase: DXE/SMM
Top-level UEFI error handler dispatcher for the Intel Purley platform. This module initializes the error handling subsystem by calling library constructors, then registers error sources and notification callbacks. It serves as the main entry point that chains into PlatformErrorHandler, ProcessorErrorHandler, and other per-domain error handlers.
ModuleEntryPoint() wrapper and dispatches initialization results.InitMainErrorHandlerLibraries(), RegisterMainErrorHandlerCallbacks(), and UnregisterMainErrorHandlerCallbacks() are split into linked units (recovered from decompiler artifacts).InitMainErrorHandlerLibraries(), calls RegisterMainErrorHandlerCallbacks(), and falls back to UnregisterMainErrorHandlerCallbacks() on failure.sub_2398) -- library constructor chain initialization (gST/gBS/gRT/gSmst setup).sub_2774) -- main error handler registration logic.sub_2704) -- cleanup/unload handler on initialization failure.sub_2398 -> InitMainErrorHandlerLibrariessub_2774 -> RegisterMainErrorHandlerCallbackssub_2704 -> UnregisterMainErrorHandlerCallbacksIntel Purley (Skylake-SP Xeon), HR650X
Source: PurleyPlatPkg/Ras/Smm/ErrHandling/MainErrorHandler/