ChibiOS
20.3.4
|
System data structure. More...
#include <ch.h>
Data Fields | |
thread_t * | current |
Pointer to the running thread. More... | |
thread_t * | next |
Pointer to the next thread to be executed. More... | |
volatile systime_t | systime |
System time. More... | |
systime_t | lasttime |
System time of the last tick event. More... | |
systime_t | nexttime |
Time of the next scheduled tick event. More... | |
cnt_t | isr_cnt |
ISR nesting level. More... | |
cnt_t | lock_cnt |
Lock nesting level. More... | |
const char *volatile | dbg_panic_msg |
Panic message. More... | |
thread_t | threads [CH_CFG_MAX_THREADS+1] |
Thread structures for all the defined threads. More... | |
System data structure.
Definition at line 504 of file nil/include/ch.h.
thread_t* nil_system::current |
Pointer to the running thread.
Definition at line 508 of file nil/include/ch.h.
Referenced by chEvtWaitAllTimeout(), chEvtWaitAnyTimeout(), chEvtWaitOneTimeout(), chMsgSend(), chSchDoReschedule(), chSchGoSleepTimeoutS(), chSysInit(), chThdEnqueueTimeoutS(), chThdExit(), and chThdSuspendTimeoutS().
thread_t* nil_system::next |
Pointer to the next thread to be executed.
current
or to an higher priority thread if a switch is required. Definition at line 514 of file nil/include/ch.h.
Referenced by chSchDoReschedule(), and chSysInit().
volatile systime_t nil_system::systime |
systime_t nil_system::lasttime |
System time of the last tick event.
Definition at line 525 of file nil/include/ch.h.
systime_t nil_system::nexttime |
Time of the next scheduled tick event.
Definition at line 529 of file nil/include/ch.h.
cnt_t nil_system::isr_cnt |
ISR nesting level.
Definition at line 535 of file nil/include/ch.h.
Referenced by _dbg_check_disable(), _dbg_check_enable(), _dbg_check_enter_isr(), _dbg_check_leave_isr(), _dbg_check_lock(), _dbg_check_lock_from_isr(), _dbg_check_suspend(), _dbg_check_unlock(), _dbg_check_unlock_from_isr(), chDbgCheckClassI(), and chDbgCheckClassS().
cnt_t nil_system::lock_cnt |
Lock nesting level.
Definition at line 539 of file nil/include/ch.h.
Referenced by _dbg_check_disable(), _dbg_check_enable(), _dbg_check_enter_isr(), _dbg_check_leave_isr(), _dbg_check_lock(), _dbg_check_lock_from_isr(), _dbg_check_suspend(), _dbg_check_unlock(), _dbg_check_unlock_from_isr(), chDbgCheckClassI(), chDbgCheckClassS(), and chSysInit().
const char* volatile nil_system::dbg_panic_msg |
Panic message.
Definition at line 549 of file nil/include/ch.h.
Referenced by chSysHalt().
thread_t nil_system::threads[CH_CFG_MAX_THREADS+1] |
Thread structures for all the defined threads.
Definition at line 554 of file nil/include/ch.h.
Referenced by chSchDoReschedule(), chSchGoSleepTimeoutS(), chSchReadyI(), chSysInit(), chSysTimerHandlerI(), chThdCreateI(), chThdExit(), nil_find_thread(), and nil_ready_all().