The ErrorHook - TrampolineRTOS/trampoline GitHub Wiki
The ErrorHook
Macros to get the arguments
OSError_ActivateTask_TaskID() returns the taskID argument of the ActivateTask(...) service.
OSError_ChainTask_TaskID() returns the taskID argument of the ChainTask(...) service.
OSError_GetTaskID_TaskID() returns the taskID argument of the GetTaskID(...) service.
OSError_GetTaskState_TaskID() returns the taskID argument of the GetTaskState(...) service.
OSError_GetTaskState_State() returns the state argument of the GetTaskState(...) service.
OSError_GetResource_ResID() returns the resID argument of the GetResource(...) service.
OSError_ReleaseResource_ResID() returns the resID argument of the ReleaseResource(...) service.