52 #define PRIO_NORMAL 10 54 #define PRIO_HIGHEST 20 75 #define T_KERNEL (1 << 0) 76 #define T_USER (1 << 1) 77 #define T_IDLE (1 << 2) 78 #define T_SHUTDOWN (1 << 7) 81 #define DEFAULT_STACK_SIZE 512 83 #ifndef DOXYGEN_SHOULD_SKIP_INTERNALS 127 #endif // DOXYGEN_SHOULD_SKIP_INTERNALS 134 #define shutdown_requested() ((ctid->tflags & T_SHUTDOWN) != 0) 137 #define shutdown_requested() (0) 147 #endif // __cplusplus struct _pchain_t * next
lower priority chain
wakeup_t wakeup_data
user data for wakeup fn
Interface: memory data types.
tstate_t tstate
task state
volatile unsigned char tstate_t
task state type
priority chain data structure
kernel configuration file
unsigned char priority_t
task priority type
wakeup_t(* wakeup)(wakeup_t)
event wakeup function
signed int tid_t
task id type
size_t * stack_base
lower stack boundary
priority_t priority
numeric priority level
tflags_t tflags
task flags
unsigned long wakeup_t
wakeup data area type
struct _pchain_t * prev
higher priority chain
struct _tdata_t * prev
previous task in queue
struct _tdata_t * parent
parent task
volatile unsigned char tflags_t
task flags type
struct _tdata_t * ctid
current task in chain
struct _tdata_t * next
next task in queue
size_t * sp_save
saved stack pointer
pchain_t * priority
priority chain