GDSX Manual

DCCBDECS and ULHDECSE Listings
Extended General Device Support (GDSX) Manual134303
C-4
DCCBDECS Listing
!the task gave up control.
Int(32) Link[0:1], !These two words are used to link
!together TCBs for tasks performing
!timed operations. The head of this
!list is ^WAITHEAD.
Wakeup; !When the task initiates a timed
!operation, the expiration time is
!placed here.
Int Waitsz; !if the task is waiting for pool space
!we store the number of words required
!here. When space is deallocated, we
!may then determine if the task's
!request may now be satisfied.
Int Trap^S = Waitsz, !S-reg when task trapped.
Filerr, !Guardian file error for last
!I/O operation completed by task
Deverror, !Last I/O error on term or line file
Pserror, !Last error from ^SERVERCLASS_SEND_
Rcverror; !Last error against $rcv for this task
Int(32) Iocbh, !List header for iocbs owned by
Iocbt; !this task
Int Rcvsz; !Size (in bytes) of $RECEIVE
! READUPDATE
!if = 0, task has no current
! READUPDATE on $RECEIVE
!if > 0, task has current READUPDATE pending
!if < 0, task will queue other $RCV/IO
Int(32) Rcvbuf, !Address of task's $RECEIVE buffer
!if = 0, task did not pass buffer
! to READUPDATE
Rcvtag, !Task's nowait I/O tag for readupdate
! on $RECEIVE
!if = -1d, task did not pass tag
! to READUPDATE
Lastrcviocb, !Address of IOCB representing last
!$RECEIVE request passed to task.
Qh, !List header for message queue
Qt, !for task. Message queue holds
!queued $RECEIVE requests as well
!as queued I/O completion messages
!for other files (see ^Q)
Itcqh, !List header for ITC messages
Itcqt; !
Int Faultno, !Fault #, if task has faulted
Stackoffset; !The number of words that this task
!has overflowed the size of
!TCB.CONTEXT. We need this word
!to output the partial stack.
Int(32) Context, !Ext addr of saved stack image
Cpcontext, !Ext Address of Stack Image at last
!checkpoint
Transtag, !BEGINTRANSACTION tag
Buffers, !Ext Address of Type-2 buffer images
Taskpool, !Ext address of Task's private pool
Poolheader, !Ext address of Task's pool space usage
Pooltailer, !Ext address of Task's pool space usage
Stats; !Address of XSTATS block
!**************** Checkpointed part of the TCB ***************************
Int Term; !file # of terminal or line managed by this
!task. MUST BE FIRST
!-------------------------------------------------------------------------------
Int Iocb^Info, !Identifies cb^openid as @iocb or @dcb
Cb^Type = Iocb^Info;!Equivalences to iocb^info
Int(32) Openid; !Line handler task's openid for this tsk
Int(32) Cb^Openid = Openid; !Equivalences to openid
Int State, !Current task state(see definitions
Statex, !below)
Opens, !Number of openers of this task
Cp^Lreg, !The value of the 'L' register at the
!last call to ^CHECKPOINT.
Cp^Word; !<13:15>
! Type of last ^CHECKPOINT by task