Guardian Procedure Calls Reference Manual
process-time
output
FIXED:ref:1
returns the process time, in microseconds, for which the process has executed.
wait-state
output
INT:ref:1
returns the wait field indicating what, if anything, the process is waiting on. It is obtained from
the wait field of the awake/wait word in the process' process control block. These bits are
defined:
wait on PON (processor power on)<8>
wait on IOPON (I/O power on)<9>
wait on INTR (interrupt)<10>
wait on LINSP (Inspect event)<11>
wait on LCAN (message system, cancel)<12>
wait on LDONE (message system, done)<13>
wait on LTMF (TMF request)<14>
wait on LREQ (message system, request)<15>
The bits in the wait field are numbered from left to right; thus, if octal 3 (%003) appears, this
means that bits 14 and 15 are equal to 1.
process-state
output
INT:ref:1
returns the state of the process specified by cpu,pin. The bits are defined as follows:
privileged process<0>
page fault occurred<1>
process is on the ready list<2>
system process<3>
reserved<4:5>
memory access breakpoint in system code<6>
process not accepting any messages<7>
temporary system process<8>
process has logged on (called USER_AUTHENTICATE_ or VERIFYUSER)<9>
in a pending process state<10>
the process state, where:<11:15>
unallocated process0
starting1
runnable2
suspended3
Debug memory access breakpoint4
Debug breakpoint5
Debug trap or signal6
1150 Guardian Procedure Calls (P)