GeMRTOS
Related Functions
Signal Class Reference

Related Functions

(Note that these are not member functions.)

Friends And Related Function Documentation

◆ gk_ECBASL_Link()

void gk_ECBASL_Link ( GS_ECB pevent,
GS_SCB psignal 
)
related

Links a SCB to the ECB Associated Signal List.

gk_ECBASL_Link

Parameters
[in]peventPointer to the ECB of the event
[in]psignalPointer to the SCB of the signal

Definition at line 139 of file listfunctions.c.

◆ gk_KCBASL_Link()

INT32 gk_KCBASL_Link ( GS_SCB psignal)
related

Links a SCG to the Associated Signal list of KCB.

gk_KCBASL_Link

Parameters
[in]psignalPointer to the SCB of the signal to link
Returns
G_TRUE if successful

Definition at line 443 of file listfunctions.c.

◆ gk_KCBASL_Unlink()

INT32 gk_KCBASL_Unlink ( GS_SCB psignal)
related

Unlinks a SCG from the Associated Signal list of KCB.

gk_KCBASL_Unlink

Parameters
[in]psignalPointer to the SCB of the signal to unlink
Returns
G_TRUE if successful, G_FALSE if not such signal linked to KCBASL
See also
Kernel

Definition at line 507 of file listfunctions.c.

◆ gk_RCBASL_GetSCB()

GS_SCB* gk_RCBASL_GetSCB ( G_RCB prcb,
INT32  SignalType 
)
related

Returns the pointer to the SCB of a resource or NULL otherwise.

gk_RCBASL_GetSCB

Parameters
[in]prcbPointer to the RCB of the resource
[in]SignalTypeSignal Type og the signal
Returns
Pointer to the SCB of NULL if was not found

Definition at line 2770 of file listfunctions.c.

◆ gk_RCBASL_Link()

INT32 gk_RCBASL_Link ( G_RCB presource,
GS_SCB psignal 
)
related

Links a signal SCB to the resource RCB Associated Signal List.

gk_RCBASL_Link

Parameters
[in]presourcePointer to the RCB of the resource
[in]psignalPointer to the SCB of the signal
Returns
G_TRUE if successfull, G_FALSE otherwise
Todo:
See also
Resource

Definition at line 737 of file listfunctions.c.

◆ gk_RCBASL_Unlink()

INT32 gk_RCBASL_Unlink ( G_RCB presource,
GS_SCB psignal 
)
related

Unlinks a SCB of a signal from the RCB Associated Signal List of a resource.

gk_RCBASL_Unlink

Parameters
[in]presourcePointer to the RCB of the resource
[in]psignalPointer to the SCB of the signal
Returns
G_TRUE is successfull, G_FALSE otherwise
Todo:
Return G_FALSE when it is not linked
See also
Resource

Definition at line 802 of file listfunctions.c.

◆ gk_RRDSASL_GetSCB()

GS_SCB* gk_RRDSASL_GetSCB ( GS_RRDS prrds,
INT32  SignalType 
)
related

Returns pointer to the SCB linked in the RRDSASL list.

gk_RRDSASL_GetSCB

Parameters
[in]prrdsPointer to the RRDS
[in]SignalTypeType of signal to search in the list
Returns
Pointer to the SCB with the type searched
Todo:
Check if this function is necessary and valid for the union RRDS
See also
RRDS

Definition at line 2647 of file listfunctions.c.

◆ gk_RRDSASL_Link()

INT32 gk_RRDSASL_Link ( GS_RRDS prrds,
GS_SCB psignal 
)
related

Links SCB to RRDS Associated Signal List.

gk_RRDSASL_Link

Parameters
[in]prrdsPointer to the RRDS
[in]psignalPointer to the SCB of the signal
Returns
G_TRUE when successful, G_FALSE otherwise

Definition at line 2143 of file listfunctions.c.

◆ gk_SCB_Copy()

GS_SCB* gk_SCB_Copy ( GS_SCB psignal)
related

Returns a pointer to a SCB with same values that psignal. Used when an associated signal has to be copied for pending list.

gk_SCB_Copy

Parameters
[in]psignalPointer to the SCB to be copied
Returns
Pointer to the new SCB or NULL if no SCB is available

Definition at line 1201 of file listfunctions.c.

◆ gk_SCB_GetFree()

GS_SCB* gk_SCB_GetFree ( void  )
related

Unlinks a SCB from free list and return its pointer.

gk_SCB_GetFree

Returns
Pointer to the SCB or NULL if no free SCB is available

TCBs linked list for debugging

Definition at line 194 of file gemrtos_core.c.

◆ gk_SCBAPSL_Link()

void gk_SCBAPSL_Link ( GS_SCB pscb_root,
GS_SCB pscb_pending 
)
related

Links a pending signal to the root signal to create a signal list.

gk_SCBAPSL_Link

Parameters
[in]pscb_rootPointer to the ROOT SCB
[in]pscb_pendingPointer to the Pending SCB
Todo:
Check if the function is necesary, otherwise delete

Definition at line 1228 of file listfunctions.c.

◆ gk_SCBAPSL_UnLink()

INT32 gk_SCBAPSL_UnLink ( GS_SCB pscb_root,
GS_SCB pscb_pending 
)
related

Unlinks a pending signal from the root signal.

gk_SCBAPSL_UnLink

Parameters
[in]pscb_rootPointer to the ROOT SCB
[in]pscb_pendingPointer to the Pending SCB
Returns
G_TRUE if successfull, G_FALSE if pending is executing

Definition at line 1244 of file listfunctions.c.

◆ gk_SCBFL_Link()

INT32 gk_SCBFL_Link ( GS_SCB psignal)
related

Links a SCB to the Free List.

gk_SCBFL_Link

Parameters
[in]psignalPointer to the SCB to be linked
Returns
G_TRUE if successful, G_FALSE otherwise
Todo:
Check is ECB signal is ready for linking to free list without links.

SCBs linked list for debugging

Definition at line 1173 of file listfunctions.c.

◆ gu_signal_create()

GS_SCB* gu_signal_create ( INT32  Type,
INT32  Priority,
void *  pxcb,
void *  Signal_Code,
void *  Signal_Arg 
)
related

Creates an associated SCB to a structure according to the Type.

gu_signal_create

Parameters
[in]TypeSignal type
[in]PriorityPriority of the signal
[in]pxcbPointer to the Control Block of the structure to link the signal created
[in]Signal_CodePointer to the first address of the Signal_Code
Returns
Pointer to the SCB created
Todo:

Check SCB availability

Include signal for the rest of control blocks

Define signals for different events and resources

ASigne TaskArg to the argument different from Type

Definition at line 583 of file grtosuserfunctions.c.

◆ gu_signal_destroy()

INT32 gu_signal_destroy ( GS_SCB pscb)
related

Unlink the signal associated to a control block.

gu_signal_destroy

Parameters
[in]pscbPointer to the SCB of the signal
Returns
G_TRUE if successfull, G_FALSE otherwise
Todo:
Check everything of this function

Definition at line 642 of file grtosuserfunctions.c.


The documentation for this class was generated from the following files: