46 #if !defined(CH_DBG_STACK_FILL_VALUE) || defined(__DOXYGEN__) 47 #define CH_DBG_STACK_FILL_VALUE 0x55 63 #if CH_DBG_SYSTEM_STATE_CHECK == TRUE 64 #define _dbg_enter_lock() (ch.dbg.lock_cnt = (cnt_t)1) 65 #define _dbg_leave_lock() (ch.dbg.lock_cnt = (cnt_t)0) 70 #if CH_DBG_SYSTEM_STATE_CHECK == FALSE 71 #define _dbg_enter_lock() 72 #define _dbg_leave_lock() 73 #define _dbg_check_disable() 74 #define _dbg_check_suspend() 75 #define _dbg_check_enable() 76 #define _dbg_check_lock() 77 #define _dbg_check_unlock() 78 #define _dbg_check_lock_from_isr() 79 #define _dbg_check_unlock_from_isr() 80 #define _dbg_check_enter_isr() 81 #define _dbg_check_leave_isr() 82 #define chDbgCheckClassI() 83 #define chDbgCheckClassS() 100 #if !defined(chDbgCheck) 101 #define chDbgCheck(c) do { \ 103 if (CH_DBG_ENABLE_CHECKS != FALSE) { \ 106 chSysHalt(__func__); \ 126 #if !defined(chDbgAssert) 127 #define chDbgAssert(c, r) do { \ 129 if (CH_DBG_ENABLE_ASSERTS != FALSE) { \ 132 chSysHalt(__func__); \ 146 #if CH_DBG_SYSTEM_STATE_CHECK == TRUE void _dbg_check_disable(void)
Guard code for chSysDisable().
void _dbg_check_lock_from_isr(void)
Guard code for chSysLockFromIsr().
void _dbg_check_enable(void)
Guard code for chSysEnable().
void _dbg_check_unlock(void)
Guard code for chSysUnlock().
void _dbg_check_suspend(void)
Guard code for chSysSuspend().
void _dbg_check_enter_isr(void)
Guard code for CH_IRQ_PROLOGUE().
void _dbg_check_unlock_from_isr(void)
Guard code for chSysUnlockFromIsr().
void chDbgCheckClassI(void)
I-class functions context check.
void _dbg_check_lock(void)
Guard code for chSysLock().
void _dbg_check_leave_isr(void)
Guard code for CH_IRQ_EPILOGUE().
void chDbgCheckClassS(void)
S-class functions context check.