ChibiOS/RT  5.1.0
ch_system_debug Struct Reference

System debug data structure. More...

#include <chschd.h>

Collaboration diagram for ch_system_debug:
Collaboration graph

Data Fields

const char *volatile panic_msg
 Pointer to the panic message. More...
 
cnt_t isr_cnt
 ISR nesting level. More...
 
cnt_t lock_cnt
 Lock nesting level. More...
 
ch_trace_buffer_t trace_buffer
 Public trace buffer. More...
 

Detailed Description

System debug data structure.

Definition at line 379 of file chschd.h.

Field Documentation

const char* volatile ch_system_debug::panic_msg

Pointer to the panic message.

This pointer is meant to be accessed through the debugger, it is written once and then the system is halted.

Note
Accesses to this pointer must never be optimized out so the field itself is declared volatile.

Definition at line 387 of file chschd.h.

Referenced by chSysHalt().

ch_trace_buffer_t ch_system_debug::trace_buffer