Software APIs
Data Fields
clock_error_info Struct Reference

Data Fields

const char * name
 The unit being tested.
 
uint32_t csr_offset
 The memory location that causes the error. More...
 
uint32_t crash_function
 The address of the function causing the error. More...
 

Detailed Description

Definition at line 44 of file clkmgr_off_trans_impl.c.

Field Documentation

◆ crash_function

uint32_t clock_error_info::crash_function

The address of the function causing the error.

The functions that cause the error are chosen so they perform a CSR read shortly after the function entry, so crash_dump's mcpc is expected to be past the possible error pc by no more than about 8 instructions, meaning 8 * 4 bytes.

Definition at line 63 of file clkmgr_off_trans_impl.c.

◆ csr_offset

uint32_t clock_error_info::csr_offset

The memory location that causes the error.

This is the expected value of crash_dump's mdaa.

Definition at line 54 of file clkmgr_off_trans_impl.c.

◆ name

const char* clock_error_info::name

The unit being tested.

Definition at line 48 of file clkmgr_off_trans_impl.c.