AMI-Aptio-BIOS-Reversed / PurleyPlatPkg / Ras / Smm / ErrHandling / DdrtErrorHandler /
@Ajax Dong Ajax Dong authored 7 days ago
..
DdrtErrorHandler.c Recovering names 7 days ago
DdrtErrorHandler.h Recovering names 7 days ago
DdrtErrorHandler.md Recovering names 7 days ago
README.md Recovering names 7 days ago
README.md

DdrtErrorHandler

Index: 0221 | Size: 74,580 bytes (298,432 body) | Phase: SMM

Overview

SMM DDRT (Double Data Rate Training) error handler for the Intel Purley platform. Handles memory training-related RAS errors, managing DDR memory channel error events during system runtime. The module initializes through AutoGen library constructors, then performs main initialization to register SMM error handling callbacks for DDR training and memory channel error monitoring.

Key Functions

  • ModuleEntryPoint -- SMM entry point: calls init constructors then main error handler registration
  • DdrtErrorHandlerAutoGenInit (recovered from sub_59C) -- AutoGen library constructor chain initialization
  • RegisterDdrtErrorHandler (recovered from sub_8D0) -- Main initialization: protocol location and SMI handler registration
  • DdrtErrorHandlerInitFailure (recovered from sub_49CC) -- Fallback/cleanup handler called on initialization failure

Recovered Symbol Mapping

  • sub_59C -> DdrtErrorHandlerAutoGenInit
  • sub_8D0 -> RegisterDdrtErrorHandler
  • sub_49CC -> DdrtErrorHandlerInitFailure

Protocols/Dependencies

  • UEFI Boot Services (gBS), Runtime Services (gRT), SMM System Table (gSmst)
  • SMM SW Dispatch2 Protocol for SMI handler registration
  • MP Sync Data protocols for multi-processor coordination

Platform

Intel Purley (Skylake-SP Xeon), HR650X
Source: PurleyPlatPkg/Ras/Smm/ErrHandling/DdrtErrorHandler/