DSIT gate, ADD_TCB function
The ADD_TCB function adds a TCB to a particular mode.
Input Parameters
- IDENTITY
- is the name of the mode to be activated. It is a two byte character string.
- MODENAME
- 2-character mode name.
- MODENAME_TOKEN
- token representing modename. More efficient than using MODENAME. The token is returned by ACTIVATE_MODE and by CHANGE_MODE (see OLD_MODENAME_TOKEN)
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- INSUFFICIENT_STORAGE
- MODE_LIMIT_REACHED
- MODE_NOT_ACTIVE
- RESERVED_MODENAME
- The following values are returned when RESPONSE is INVALID:
- INVALID_MODENAME
- INVALID_MODENAME_TOKEN
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TCB_TOKEN
- is the TCB token associated with the task.