• Gerald Lejeune's avatar
    Dump platform-defined regs in crash reporting · 9ff67fa6
    Gerald Lejeune authored
    
    
    It is up to the platform to implement the new plat_crash_print_regs macro to
    report all relevant platform registers helpful for troubleshooting.
    
    plat_crash_print_regs merges or calls previously defined plat_print_gic_regs
    and plat_print_interconnect_regs macros for each existing platforms.
    
    NOTE: THIS COMMIT REQUIRES ALL PLATFORMS THAT ENABLE THE `CRASH_REPORTING`
    BUILD FLAG TO MIGRATE TO USE THE NEW `plat_crash_print_regs()` MACRO. BY
    DEFAULT, `CRASH_REPORTING` IS ENABLED IN DEBUG BUILDS FOR ALL PLATFORMS.
    
    Fixes: arm-software/tf-issues#373
    Signed-off-by: default avatarGerald Lejeune <gerald.lejeune@st.com>
    9ff67fa6
plat_macros.S 3.37 KB