ChibiOS/NIL
3.1.0
|
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_NUM_THREADS+1] |
Thread structures for all the defined threads. More... | |
System data structure.
thread_t* nil_system::current |
Pointer to the running thread.
Definition at line 658 of file ch.h.
Referenced by chEvtWaitAnyTimeout(), chSchDoReschedule(), chSchGoSleepTimeoutS(), chSchReadyI(), chSemWaitTimeoutS(), chSysInit(), chThdEnqueueTimeoutS(), 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 664 of file ch.h.
Referenced by chSchDoReschedule(), chSchGoSleepTimeoutS(), chSchReadyI(), and chSysInit().
volatile systime_t nil_system::systime |
systime_t nil_system::lasttime |
System time of the last tick event.
Definition at line 675 of file ch.h.
Referenced by chSchGoSleepTimeoutS(), and chSysTimerHandlerI().
systime_t nil_system::nexttime |
Time of the next scheduled tick event.
Definition at line 679 of file ch.h.
Referenced by chSchGoSleepTimeoutS(), and chSysTimerHandlerI().
cnt_t nil_system::isr_cnt |
ISR nesting level.
Definition at line 685 of file 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().
cnt_t nil_system::lock_cnt |
Lock nesting level.
Definition at line 689 of file 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 699 of file ch.h.
Referenced by chSysHalt().
thread_t nil_system::threads[CH_CFG_NUM_THREADS+1] |
Thread structures for all the defined threads.
Definition at line 704 of file ch.h.
Referenced by chSchDoReschedule(), chSchGoSleepTimeoutS(), chSchReadyI(), chSysInit(), chSysTimerHandlerI(), nil_find_thread(), and nil_ready_all().