DSIT gate, FREE_TCB function
The FREE_TCB function is issued by the Kernel and tells the Dispatcher that a given TCB has terminated and been DETACHed.
Input Parameters
- TCB_TOKEN
- token representing the TCB instance to which to switch. The token is returned by CHANGE_MODE (see OLD_TCB_TOKEN)
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- INVALID_TCB_TOKEN
- TASK_NOT_TERMINATED
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.