GeMRTOS
Data Fields
gs_tcb Struct Reference

gs_tcb Task Control Block (TCB) structure More...

#include <gemrtos_core.h>

Data Fields

Detailed Description

gs_tcb Task Control Block (TCB) structure

The gs_tcb structure has all the fields to hold the task parameters.

Todo:
Check if fields can be grouped into an union to save fields for differetn type of TCBs. For instance, period and ISR links are not requiered for the same type of task.

Definition at line 439 of file gemrtos_core.h.

Field Documentation

◆ BLOCK_HASH

unsigned int BLOCK_HASH

BLOCK_HASH of the TCB: (GS_TCB *) + 1.

Definition at line 441 of file gemrtos_core.h.

◆ malloc_address

void* malloc_address

Pointer memory address of the malloc block

Definition at line 444 of file gemrtos_core.h.

◆ TCB_Abort_w_Deadline

int TCB_Abort_w_Deadline

True if task should be aborted when deadline, false otherwise.

Definition at line 464 of file gemrtos_core.h.

◆ TCB_AssocPCB

unsigned int TCB_AssocPCB

Processor assigned this task (0 is no assigned)

Definition at line 461 of file gemrtos_core.h.

◆ TCB_INTNumber

int TCB_INTNumber

IRQ number if it is a ISR TCB.

Definition at line 462 of file gemrtos_core.h.

◆ TCB_NEXT_TCBs

struct gs_tcb* TCB_NEXT_TCBs

Fields for debugging.

Pointer to next TCB structure. Used for debugging purposes.

Definition at line 469 of file gemrtos_core.h.

◆ TCB_NextISRTCB

struct gs_tcb* TCB_NextISRTCB

Pointer to the next TCB for the same ISR (when task is a ISR)

Definition at line 465 of file gemrtos_core.h.

◆ TCB_NextTCB

volatile struct gs_tcb* TCB_NextTCB

Pointer to next TCB in the TCB list.

Definition at line 456 of file gemrtos_core.h.

◆ TCB_NextTCBAEL

struct gs_ecb* TCB_NextTCBAEL

Pointer to linked list of waiting events of this task.

Definition at line 458 of file gemrtos_core.h.

◆ TCB_NextTCBASL

struct gs_scb* TCB_NextTCBASL

Pointer to the Linked list of signals.

Definition at line 459 of file gemrtos_core.h.

◆ TCB_NextTCBPSL

struct gs_scb* TCB_NextTCBPSL

Pointer to signals waiting to execute.

Definition at line 460 of file gemrtos_core.h.

◆ TCB_PREV_TCBs

struct gs_tcb* TCB_PREV_TCBs

Pointer to previous TCB structure. Used for debugging purposes.

Definition at line 470 of file gemrtos_core.h.

◆ TCB_PrevISRTCB

struct gs_tcb* TCB_PrevISRTCB

Pointer to the previous TCB for the same ISR (when task is a ISR)

Definition at line 466 of file gemrtos_core.h.

◆ TCB_PrevTCB

struct gs_tcb* TCB_PrevTCB

Pointer to previous TCB in the TCB list.

Definition at line 457 of file gemrtos_core.h.

◆ TCB_RDY_LCB_Index

struct gs_lcb* TCB_RDY_LCB_Index

pointer to the ready list that should be inserted

Definition at line 463 of file gemrtos_core.h.

◆ TCB_StackBottom

GS_STK* TCB_StackBottom

Botton Stack of the Task.

Definition at line 452 of file gemrtos_core.h.

◆ TCB_StackPointer

GS_STK* TCB_StackPointer

Pointer to current top of stack.

Definition at line 451 of file gemrtos_core.h.

◆ TCB_StackTop

GS_STK* TCB_StackTop

Botton Stack of the Task.

Definition at line 453 of file gemrtos_core.h.

◆ TCB_TaskArg

void* TCB_TaskArg

Pointer to the argument of the first call.

Definition at line 455 of file gemrtos_core.h.

◆ TCB_TaskCode

void* TCB_TaskCode

Pointer to the Task Code.

Definition at line 454 of file gemrtos_core.h.

◆ TCBCurrentPriority

INT64 TCBCurrentPriority

Current priority of the task according it is ready or running.

Definition at line 448 of file gemrtos_core.h.

◆ TCBDeadline

INT64 TCBDeadline

Deadline of the task.

Definition at line 450 of file gemrtos_core.h.

◆ TCBInherPriority

INT64 TCBInherPriority

Priority Inhered by granted resource.

Definition at line 446 of file gemrtos_core.h.

◆ TCBPeriod

INT64 TCBPeriod

Period of the task.

Definition at line 449 of file gemrtos_core.h.

◆ TCBReadyPriority

INT64 TCBReadyPriority

Priority of the Task when Ready.

Definition at line 445 of file gemrtos_core.h.

◆ TCBRunPriority

INT64 TCBRunPriority

Priority when it is executed.

Definition at line 447 of file gemrtos_core.h.


The documentation for this struct was generated from the following file: