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.

Chapter 5<br />

T-<strong>Kernel</strong>/SM<br />

Details of the functions provided by T-<strong>Kernel</strong> System Manager (T-<strong>Kernel</strong>/SM) are described in this<br />

chapter.<br />

Overall notice and supplement<br />

• In principle, functions whose name are tk — is extended SVC, others are library functions (including<br />

inline-functions) or macros of the C language.<br />

• Some libraries and macros call some extended SVC or system calls indirectly.<br />

• Error codes such as E PAR, E MACV, and E NOMEM that always have the possibility of occurring are<br />

not described here unless there is some special reason for doing so.<br />

• Except where otherwise noted, extended SVC and libraries of T-<strong>Kernel</strong>/SM can not be called from<br />

a task-independent portion and while dispatching and interrupts are disabled. There may be some<br />

limitations, however, imposed by particular implementations (E CTX) .<br />

• Extended SVC and libraries of T-<strong>Kernel</strong>/SM can not be invoked from a lower protection level<br />

than that at which T-<strong>Kernel</strong>/OS system calls can be invoked (lower than TSVCLimit)(E OACV).<br />

• Extended SVC and libraries of T-<strong>Kernel</strong>/SM are reentrant except that the special explanation is<br />

given. But some functions make exclusive control internally.<br />

• Detection of error codes E PAR, E MACV, and E CTX is implementation-dependent; these may not<br />

always be detected as error. For this reason, the service calls must not be invoked in such a way<br />

that these errors might occur.<br />

219

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

Saved successfully!

Ooh no, something went wrong!