DSIT gate, DELETE_TCB function
The DELETE_TCB function is used by the caller to tell the Dispatcher that the TCB is to be shutdown and that the associated control blocks can be freed. If an attempt is made to shut down an essential TCB, an EXCEPTION response is returned with a reason of NOT_SUPPORTED.
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:
- NOT_SUPPORTED
- TCB_IN_USE
- The following values are returned when RESPONSE is INVALID:
- INVALID_TCB_TOKEN
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.