User guide

3.1. MANIFEST CONSTANTS 37
rtn
clwkq CIN:n, POS:y, NAT:n
Under Cintpos, this field is used to holds the ordered list of packets waiting to be
released by the clock device .
rtn
context CIN:y, POS:y, NAT:n
Under certain circumstances the entire Cintco de memory is dumped in a compacted
form to the file DUMP.mem for later inspection by commands such as dumpsys and
dumpdebug. This field is set at the time a dump file is written to sp ec i fy why the dump
was requested. The possible values are as follows:
1: dump caused by second SIGINT
2: dump caused by SIGSEGV
3: fault in B O O T or standalone debug
4: dump by user calling sys(Sys_quit, -2)
5: dump caused by non zero user fault code
6: dump requested from standalone debug
rtn
crntask CIN:y, POS:y, NAT:n
Under Cintpos, this rootnode field point to the TCB of the cur r ently running task,
which is the highest priority task that can run.
rtn
days CIN:y, POS:y, NAT:n
This field holds the number of days since 1 January 1970. It is updated by the
interpreter normally within a milli-second of the date changing.
rtn
dbgvars CIN:y, POS:y, NAT:n
This rootnode field holds vectors of 10 elements used by the standalone debugger
to hold the d eb ugger variables V0 to V9. It is in the rootnode to make it accesibble to
the debug task (in Cintpos) and to the dumpdebug command.
rtn
dcount CIN:y, POS:y, NAT:n
This holds a point to the d eb ug count vector.
rtn
devtab CIN:y, POS:y, NAT:n
Under Cintpos, this holds the Cintpos device table. The zeroth entry is the table’s
upperbound and each other entries is either zero, or points to the device control block
(DCB) of the corresponding devic e. Some devices are handled directly in qpkt and the
interpreter thr ead . Currently the clock (device -1) and ttyout (device -3) are handled
in this way. This improved the performance of output to the screen and cause the clock
to have a resolution of about 1 mi lli-second.
rtn
dumpflag CIN:y, POS:y, NAT: n
If dumpflag is TRUE when Cintsys or Cintpos exits, the entire Cintcode memory is
dumped in a c ompac te d form to the file DUMP.mem for later inspection by commands
such as dumpsys or dumpdebug.
rtn
envlist CIN:y, POS:y, NAT:n
This rootnode field holds the list of logical name-value pairs used by the functions
setlogval and getlogval, and the CLI command setlogval.