GeMRTOS
Public Member Functions | Data Fields
gs_pcb Struct Reference

GS_PCB Processor Control Block. More...

#include <gemrtos_core.h>

Public Member Functions

Data Fields

Detailed Description

GS_PCB Processor Control Block.

gs_pcb Processor Control Block structure (PCB)

The gs_pcb holds information about processor. Each processors has an unique PCBID according to the ID of the associated processor.

Todo:
Define the type for processors

Definition at line 238 of file gemrtos_core.h.

Member Function Documentation

◆ __attribute__() [1/2]

int* GRTOS_PROCESSOR_BASE __attribute__ ( (aligned(4))  )

◆ __attribute__() [2/2]

struct gs_lcb* PCB_RDY_LCBL [G_NUMBER_OF_LCBs_FOR_PCB] __attribute__ ( (aligned(4))  )

Processor specific addresses to go to idle state

Ready Lists the processor services

Field Documentation

◆ PCB_EXECTCB

struct gs_tcb* PCB_EXECTCB

Current task assigned to processor.

Definition at line 245 of file gemrtos_core.h.

◆ PCB_IDLETCB

struct gs_tcb* PCB_IDLETCB

Pointer to the TCB of the IDLE Task.

Definition at line 244 of file gemrtos_core.h.

◆ PCB_NextPCB

struct gs_pcb* PCB_NextPCB

Pointer to the next free processor.

Definition at line 246 of file gemrtos_core.h.

◆ PCB_PrevPCB

struct gs_pcb* PCB_PrevPCB

Pointer to the previous free processor.

Definition at line 247 of file gemrtos_core.h.

◆ PCBID

int PCBID

Processor ID.

Definition at line 239 of file gemrtos_core.h.


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