ChibiOS/NIL
4.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_MAX_THREADS+1] |
Thread structures for all the defined threads. More... | |
System data structure.
thread_t* nil_os_instance::current |
Pointer to the running thread.
Definition at line 557 of file ch.h.
Referenced by chEvtWaitAllTimeout(), chEvtWaitAnyTimeout(), chEvtWaitOneTimeout(), chMsgSend(), chMsgWaitTimeoutS(), chSchDoPreemption(), chSchGoSleepTimeoutS(), chSemWaitTimeoutS(), chSysInit(), chThdEnqueueTimeoutS(), chThdExit(), and chThdSuspendTimeoutS().
thread_t* nil_os_instance::next |
Pointer to the next thread to be executed.
current
or to an higher priority thread if a switch is required. Definition at line 563 of file ch.h.
Referenced by chSchDoPreemption(), and chSysInit().
volatile systime_t nil_os_instance::systime |
systime_t nil_os_instance::lasttime |
System time of the last tick event.
Definition at line 574 of file ch.h.
Referenced by chSchGoSleepTimeoutS().
systime_t nil_os_instance::nexttime |
Time of the next scheduled tick event.
Definition at line 578 of file ch.h.
Referenced by chSchGoSleepTimeoutS().
cnt_t nil_os_instance::isr_cnt |
ISR nesting level.
Definition at line 584 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(), and chDbgCheckClassS().
cnt_t nil_os_instance::lock_cnt |
Lock nesting level.
Definition at line 588 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_os_instance::dbg_panic_msg |
Panic message.
Definition at line 598 of file ch.h.
Referenced by chSysHalt().
thread_t nil_os_instance::threads[CH_CFG_MAX_THREADS+1] |
Thread structures for all the defined threads.
Definition at line 603 of file ch.h.
Referenced by chSchDoPreemption(), chSchGoSleepTimeoutS(), chSchReadyI(), chSysInit(), chSysTimerHandlerI(), chThdCreateI(), chThdExit(), nil_find_thread(), and nil_ready_all().