List of Error Codes
E_OK 0 Normal completion
E_SYS -5 System error
An error of unknown cause affecting the system as a whole.
E_NOCOP -6 The specified coprocessor cannot be used
Not used in µT-Kernel. This error code exists to ensure compatibility with T-Kernel.
E_NOSPT -9 Unsupported function
When some system call functions are not supported and such a function was specified, error code E_RSATR or E_NOSPT is returned. If E_RSATR does not apply, error code E_NOSPT is returned.
E_RSFN -10 Reserved function code number
This error code is returned when it is attempted to execute a system call specifying a reserved function code (undefined function code), and also when it is attempted to execute an undefined extended SVC handler.
E_RSATR -11 Reserved attribute
This error code is returned when an undefined or unsupported object attribute is specified.
Checking for this error may be omitted if system-dependent optimization is implemented.
E_PAR -17 Parameter error
Checking for this error may be omitted if system-dependent optimization is implemented.
E_ID -18 Invalid ID number
E_ID is an error that occurs only for objects having an ID number. Error code E_PAR is returned when a static error is detected in the parameter, such as reserved number or out of range for parameters such as interrupt definition numbers.
E_CTX -25 Context error
This error indicates that the specified system call cannot be issued in the current context (task portion/task-independent portion or handler RUN state).
This error must be issued whenever there is a meaningful context error in issuing a system call, such as calling from a task-independent portion a system call that may put the invoking task in WAIT state. Due to implementation limitations, there may be other system calls that when called from a given context (such as an interrupt handler) will cause this error to be returned.
E_MACV -26 Memory cannot be accessed; memory access privilege error
Error detection is implementation-dependent.
E_OACV -27 Object Access privilege error
The error indicates that an object inaccessible from the context which called the system call is specified was accessed. This error code is returned when a user task tries to manipulate a system object.
System object definition and error detection are implementation-defined.
E_ILUSE -28 System call illegal use
E_NOMEM -33 Insufficient memory
This error code is returned when there is insufficient memory (no memory) for allocating an object control block space, user stack space, memory pool space, message buffer space, etc.
E_LIMIT -34 System limit exceeded
This error code is returned when it is attempted to create more of an object than the system allows.
E_OBJ -41 Invalid object state
E_NOEXS -42 Object does not exist
E_QOVR -43 Queuing or nesting overflow
E_RLWAI -49 WAIT state released
E_TMOUT -50 Polling failed or timeout
E_DLT -51 The object being waited for was deleted
E_DISWAI -52 Wait released by wait disabled state
Not used in µT-Kernel. This error code exists to ensure compatibility with T-Kernel
E_IO -57 IO error
E_NOMDA -58 No media
E_BUSY -65 Busy
E_ABORT -66 Processing was aborted
E_RONLY -67 Write protected

Comments
Click here to Post a Comment