Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyPlatPkg / Ras / Smm / ErrHandling / PlatformErrorHandler / PlatformErrorHandler.md
@Ajax Dong Ajax Dong 7 days ago 2 KB Recovering names (docs)

PlatformErrorHandler

Function Table

Address Name Description
0x5CC _ModuleEntryPoint (ModuleEntryPoint) DXE/SMM entry point: constructor sequence (PlatformErrorHandlerConstructors), then main init (RegisterPlatformErrorHandler), fallback (PlatformErrorHandlerFallbackInit) on failure
(rsi) PlatformErrorHandlerConstructors AutoGen constructor dispatcher / library initialization path
(rsi) RegisterPlatformErrorHandler Main PlatformErrorHandler initialization
(rsi) PlatformErrorHandlerFallbackInit Fallback/cleanup initialization helper
(rsi) PlatformErrorHandlerSmmEntry Secondary SMM entry observed in local analysis
(rsi) RegisterErrorNotificationCallback Register priority-sorted notification callback for error delivery
(rsi) RegisterErrorSource Register per-source error context node
(rsi) DispatchNotification Dispatch all callbacks for current context
(rsi) DispatchWithEarlyOut Dispatch callbacks with early-stop support

Recovered Globals

Recovered Name Original Symbol Purpose
PlatformErrorHandlerStatus qword_72D8 Module status/result cache (initialized to EFI_NOT_FOUND)
ErrorSourceListHead qword_72E0 Head of registered error-source list
ErrorSourceListTail qword_72E8 Tail of registered error-source list
NotificationCallbackHead qword_72F0 Head of notification callback list
NotificationCallbackTail qword_72F8 Tail of notification callback list
EmcaPlatformProtocol qword_7368 Cached EMCA platform protocol pointer
SmmIpmiTransportProtocol qword_73C0 Cached SMM IPMI transport protocol pointer

Module File Split

  • _ModuleEntryPoint/PlatformErrorHandlerSmmEntry are entry paths in PlatformErrorHandler.c.
  • PlatformErrorHandlerConstructors, RegisterPlatformErrorHandler, PlatformErrorHandlerFallbackInit,
    RegisterErrorNotificationCallback, RegisterErrorSource, DispatchNotification,
    and DispatchWithEarlyOut are in this module directory and are exposed for cross-file linking.
  • Helpers for MC-bank access (sub_1D8C / sub_1DE4 / sub_1E3C) remain documented in
    emcaplatformhookslib.c. Setup and initialization helpers (for example sub_2690, sub_2AE0,
    sub_3D4C, sub_3E0C, sub_3970, sub_3890) are currently documented in this module analysis.

Generated by HR650X BIOS Decompilation Project