System Calls Possible from Task-Independent Portion and Dispatching Prohibited State

The following system calls should run even if they are issued from task-independent portion and dispatch disabled state.


tk_sta_tsk	Start task
tk_wup_tsk	Wakeup task
tk_rel_wai	Release wait
tk_sus_tsk	Suspend task
tk_sig_sem	Signal semaphore
tk_set_flg	Set event flag
tk_rot_rdq	Rotate task queue
tk_get_tid	Get task ID
tk_sta_cyc	Start cyclic handler
tk_stp_cyc	Stop cyclic handler
tk_sta_alm	Start alarm handler
tk_stp_alm	Stop alarm handler
tk_ref_tsk	Reference task status
tk_ref_cyc	Reference cyclic handler status
tk_ref_alm	Reference alarm handler status
tk_ref_sys	Reference system status
tk_ret_int	Return from interrupt handler

Also, the following system calls should run in the same way as those issued from dispatch enabled state (also, never return “E_CTX”) even if they are issued from dispatch disabled state.


tk_fwd_por	Forward rendezvous to other port
tk_rpl_rdv	Reply rendezvous

If system calls besides these are issued from task-independent portion and dispatch disabled state, the behavior shall be implementation-defined.

[Difference with T-Kernel]

tk_sig_tev does not exist in the list of system calls which are allowed to be executed from task-independent portion and dispatch disabled state. This is because this system call does not exist in µT-Kernel.

Comments

Click here to Post a Comment