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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

272 CHAPTER 6. T-KERNEL/DS FUNCTIONS<br />

td ref sys<br />

Reference System Status<br />

[C Language Interface]<br />

ER ercd = td_ref_sys ( TD_RSYS *pk_rsys ) ;<br />

[Parameters]<br />

TD RSYS* pk rsys Packet address for returning status information<br />

[Return Parameters]<br />

ER ercd Error code<br />

pk rsys detail:<br />

INT sysstat System status<br />

ID runtskid ID of current RUN state task<br />

ID schedtskid ID of task scheduled to go to RUN state<br />

[Error Codes]<br />

E OK<br />

Normal completion<br />

[Description]<br />

Gets the system status. This is similar to tk ref sys.<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!