orca-software
|
Task control block (TCB) and processor control block (PCB) entry data structures. More...
#include <kernel.h>
Public Attributes | |
uint16_t | id |
int8_t | name [20] |
uint8_t | state |
uint8_t | priority |
uint8_t | priority_rem |
uint8_t | critical |
uint32_t | delay |
uint32_t | rtjobs |
uint32_t | bgjobs |
uint32_t | deadline_misses |
uint16_t | period |
uint16_t | capacity |
uint16_t | deadline |
uint16_t | capacity_rem |
uint16_t | deadline_rem |
context | task_context |
void(* | ptask )(void) |
size_t * | pstack |
uint32_t | stack_size |
void * | other_data |
Task control block (TCB) and processor control block (PCB) entry data structures.
uint32_t tcb_entry::bgjobs |
total BE task jobs executed
uint16_t tcb_entry::capacity |
task capacity
uint16_t tcb_entry::capacity_rem |
remaining capacity on period
uint8_t tcb_entry::critical |
critical event, interrupt request
uint16_t tcb_entry::deadline |
task deadline
uint32_t tcb_entry::deadline_misses |
task realtime deadline misses
uint16_t tcb_entry::deadline_rem |
remaining time slices on period
uint32_t tcb_entry::delay |
delay to enter in the run/RT queue
uint16_t tcb_entry::id |
task id
int8_t tcb_entry::name[20] |
task description (or name)
void* tcb_entry::other_data |
pointer to other data related to this task
uint16_t tcb_entry::period |
task period
uint8_t tcb_entry::priority |
[1 .. 29] - critical, [30 .. 99] - system, [100 .. 255] - application
uint8_t tcb_entry::priority_rem |
remaining priority
size_t* tcb_entry::pstack |
task stack area (bottom)
void(* tcb_entry::ptask) (void) |
task entry point, pointer to function
uint32_t tcb_entry::rtjobs |
total RT task jobs executed
uint32_t tcb_entry::stack_size |
task stack size
uint8_t tcb_entry::state |
0 - idle, 1 - ready, 2 - running, 3 - blocked, 4 - delayed, 5 - waiting
context tcb_entry::task_context |
task context