src/occ_405/errl/errl.c
// Function Specification
//
// Name:  reportErrorLog
//
// Description: report the log to tmgt
//
// End Function Specification
Function Specification
Name:  reportErrorLog

report the log to tmgt

End Function Specification
Function Specification Name : reportErrorLog report the log to tmgt End Function Specification
void reportErrorLog( errlHndl_t i_err, uint16_t i_entrySize )
{
    TRAC_INFO("Reporting error @ %p with size %d",i_err, i_entrySize );
    TRAC_INFO("ModID: 0x%08X, RC: 0x%08X, UserData1: 0x%08X, UserData2: 0x%08X",
           i_err->iv_userDetails.iv_modId, i_err->iv_reasonCode,
           i_err->iv_userDetails.iv_userData1, i_err->iv_userDetails.iv_userData2);
    if (!G_fir_collection_required)
    {
        if (G_occ_interrupt_type == PSIHB_INTERRUPT)
        {
            notify_host(INTR_REASON_HTMGT_SERVICE_REQUIRED);
        }
    }
}
void reportErrorLog ( errlHndl_t i_err , uint16_t i_entrySize ) { TRAC_INFO ( " " , i_err , i_entrySize ) ; TRAC_INFO ( " " , i_err -> iv_userDetails . iv_modId , i_err -> iv_reasonCode , i_err -> iv_userDetails . iv_userData1 , i_err -> iv_userDetails . iv_userData2 ) ; if ( ! G_fir_collection_required ) { if ( G_occ_interrupt_type == PSIHB_INTERRUPT ) { notify_host ( INTR_REASON_HTMGT_SERVICE_REQUIRED ) ; } } }
Function Specification
Name:  reportErrorLog
Function Specification Name : reportErrorLog
// report the log // will need to give them the address and size to read // Defer the interrupt if FIR collection is required // If this system is using PSIHB complex, send an interrupt to Host so that // Host can inform HTMGT to collect the error log