30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.2. LIST OF ERROR CODES 289<br />

E NOCOP ERCD(-6, 0) The designated coprocessor cannot be used (not installed, or abnormal operation<br />

detected)<br />

This error code is returned when the designated coprocessor is not installed in the currently<br />

running hardware, or abnormal coprocessor operation was detected.<br />

Unsupported Error Class (9 to 16)<br />

E NOSPT ERCD(-9, 0) Unsupported function<br />

When some system call functions are not supported and such a function was designated,<br />

error code E RSATR or E NOSPTS is returned. If E RSATR does not apply, error code E NOSPT<br />

is returned.<br />

E RSFN ERCD(-10, 0) Reserved function code number<br />

This error code is returned when it is attempted to execute a system call designating a<br />

reserved function code (undefined function code), and also when it is attempted to execute<br />

an undefined extended SVC handler.<br />

E RSATR ERCD(-11, 0) Reserved attribute<br />

This error code is returned when an undefined or unsupported object attribute is designated.<br />

Checking for this error may be omitted if system-dependent optimization is implemented.<br />

Parameter Error Class (17 to 24)<br />

E PAR ERCD(-17, 0) Parameter error<br />

Checking for this error may be omitted if system-dependent optimization is implemented.<br />

E ID ERCD(-18, 0) Invalid ID number<br />

E ID is an error that occurs only for objects having an ID number. Error code E PAR is<br />

returned when a static error is detected such as designation of an out of range or reserved<br />

number for an interrupt definition number.<br />

Call Context Error Class (25 to 32)<br />

E CTX ERCD(-25, 0) Context error<br />

This error indicates that the designated system call cannot be issued in the current context<br />

(task portion/task-independent portion or handler RUN state).<br />

This error must be issued whenever there is a meaningful context error in issuing a system<br />

call, such as calling from a task-independent portion a system call that may put the invoking<br />

task in WAIT state. Due to implementation limitations, there may be other system calls<br />

that when called from a given context (such as an interrupt handler) will cause this error to<br />

be returned.<br />

E MACV ERCD(-26, 0) Memory cannot be accessed; memory access privilege error<br />

Error detection is implementation-dependent.<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!