GeMRTOS
Data Fields
gs_lcb Struct Reference

GS_LCB List Control Block. More...

#include <gemrtos_core.h>

Data Fields

Detailed Description

GS_LCB List Control Block.

gs_lcb List Control Block structure (LCB)

The gs_lcb holds information about processor.

Todo:

Check correctness for multiple list scheduling

define types

Include maximun number of running tasks and current running tasks to control exclusion

Definition at line 203 of file gemrtos_core.h.

Field Documentation

◆ BLOCK_HASH

unsigned int BLOCK_HASH

BLOCK_HASH of the LCB: (GS_LCB *) + 6.

Definition at line 204 of file gemrtos_core.h.

◆ LCB_NEXT_LCBs

struct gs_lcb* LCB_NEXT_LCBs

Fields for debugging.

Pointer to next LCB structure. Used for debugging purposes.

Definition at line 218 of file gemrtos_core.h.

◆ LCB_NextLCBFPL

struct gs_pcb* LCB_NextLCBFPL

Next free processor for this list.

Definition at line 215 of file gemrtos_core.h.

◆ LCB_NextLCBL

struct gs_lcb* LCB_NextLCBL

Pointer to the next list ordered by priority.

Definition at line 213 of file gemrtos_core.h.

◆ LCB_NextTCBRDYL

struct gs_tcb* LCB_NextTCBRDYL

Pointer to the TCB of the Highest Priority Task.

Definition at line 212 of file gemrtos_core.h.

◆ LCB_NextTCBRUNL

struct gs_tcb* LCB_NextTCBRUNL

Pointer to the TCB list of running tasks.

Definition at line 211 of file gemrtos_core.h.

◆ LCB_PREV_LCBs

struct gs_lcb* LCB_PREV_LCBs

Pointer to previous LCB structure. Used for debugging purposes.

Definition at line 219 of file gemrtos_core.h.

◆ LCB_PrevLCBL

struct gs_lcb* LCB_PrevLCBL

Pointer to the next list ordered by priority.

Definition at line 214 of file gemrtos_core.h.

◆ LCBCurrentRunning

INT32 LCBCurrentRunning

Current number of running tasks.

Definition at line 209 of file gemrtos_core.h.

◆ LCBExclusion

INT32 LCBExclusion

Maximum number of running task (0 for no limit)

Definition at line 210 of file gemrtos_core.h.

◆ LCBRunPriority

INT64 LCBRunPriority

Current Priority (-1 PRIORITY THERE IS NO TASK RUNNING.

Definition at line 208 of file gemrtos_core.h.

◆ malloc_address

void* malloc_address

Pointer memory address of the malloc block

Definition at line 207 of file gemrtos_core.h.


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