Software APIs
Data Fields
dif_rv_core_ibex_crash_dump_info Struct Reference

Under normal circumstances, only the current crash dump state is valid. More...

#include <sw/device/lib/dif/dif_rv_core_ibex.h>

Data Fields

dif_rv_core_ibex_crash_dump_state_t fault_state
 The crash dump state for the current execution.
 
dif_rv_core_ibex_previous_crash_dump_state_t previous_fault_state
 The crash dump state for the previous execution. More...
 
dif_toggle_t double_fault
 kDifToggleEnabled if a double fault happened, otherwise kDifToggleDisabled
 

Detailed Description

Under normal circumstances, only the current crash dump state is valid.

When the CPU encounters a double fault, the current crash dump is moved to previous, and the new crash dump is shown in current.

Definition at line 200 of file dif_rv_core_ibex.h.

Field Documentation

◆ double_fault

dif_toggle_t dif_rv_core_ibex_crash_dump_info::double_fault

kDifToggleEnabled if a double fault happened, otherwise kDifToggleDisabled

Definition at line 217 of file dif_rv_core_ibex.h.

◆ fault_state

dif_rv_core_ibex_crash_dump_state_t dif_rv_core_ibex_crash_dump_info::fault_state

The crash dump state for the current execution.

Definition at line 204 of file dif_rv_core_ibex.h.

◆ previous_fault_state

dif_rv_core_ibex_previous_crash_dump_state_t dif_rv_core_ibex_crash_dump_info::previous_fault_state

The crash dump state for the previous execution.

It will only contain valid data in case of a double fault, which will be indicated by the double_fault member.

Definition at line 211 of file dif_rv_core_ibex.h.