Google
 

Trailing-Edge - PDP-10 Archives - BB-H348C-RM_1982 - swskit-v21/listings/tkb-vnp/tskdef.rpt
There are no other files named tskdef.rpt in the archive.
		DSK:TSKDEF.REQ[4,31]             31-Aug-79 14:30

!
! THIS FILE, TSKDEF.REQ, DEFINES THE OFFSETS INTO THE FIRST
!  LABEL BLOCK AND THE TASK HEADER.
!
!
! OFFSETS INTO FIRST LABEL BLOCK
!

LITERAL
    L$BTSK = %O'0',				!TASK NAME
    L$BPAR = %O'4',				!PARTITION NAME
    L$BSA = %O'10',				!BASE ADDRESS OF TASK
    L$BHGV = %O'12',				!HIGHEST WINDOW 0 VIRTUAL ADDRESS
    L$BMXV = %O'14',				!HIGHEST VIRTIAL ADDRESS IN TASK
    L$BLDZ = %O'16',				!LOAD SIZE IN 64-BYTE BLOCKS
    L$BMXZ = %O'20',				!MAX SIZE IN 64-BYTE BLOCKS
    L$BOFF = %O'22',				!TASK OFFSET INTO PARTITION
    L$BWND = %O'24',				!NUMBER OF TASK WINDOWS
    L$BSEG = %O'26',				!SIZE OF OVERLAY SEGMENT DESCRIPTORS
    L$BFLG = %O'30',				!TASK FLAG WORD
    L$BDAT = %O'32',				!TASK CREATION DATE - 6 BYTES
    L$BLIB = %O'40',				!LIBRARY/COMMON
    L$BPRI = %O'346',				!TASK PRIORITY
    L$BXFR = %O'350',				!TASK TRANSFER ADDRESS
    L$BEXT = %O'352',				!TASK EXTENSION 64-BYTE BLOCKS
    L$BSGL = %O'354',				!BLOCK NUMBER OF SEGMENT LOAD LIST
    L$BHRB = %O'356',				!BLOCK NUMBER OF HEADER
    L$BBLK = %O'360',				!NUMBER OF BLOCKS IN LABEL
    L$BLUN = %O'362';				!NUMBER OF LOGICAL UNITS

!
! DEFINE OFFSETS INTO HEADER.  THIS IS THE TASK'S LOW CORE.
!

LITERAL
    H$CSP = %O'0',				!CURRENT STACK POINTER
    H$HDLN = %O'2',				!HEADER LENGTH
    H$EFLM = %O'4',				!EVENT FILE MASK
    H$CUIC = %O'10',				!CURRENT UIC
    H$DUIC = %O'12',				!DEFAULT UIC
    H$IPS = %O'14',				!INITIAL PS
    H$IPC = %O'16',				!INITIAL PC (ABSOLUTE)
    H$ISP = %O'20',				!INITIAL STACK POINTER (ABSOLUTE)
    H$ODVA = %O'22',				!ODT SST VECTOR ADDRESS
    H$ODVL = %O'24',				!ODT SST VECTOR LENGTH
    H$TKVA = %O'26',				!TASK SST VECTOR ADDRESS
    H$TKVL = %O'30',				!TASK SST VECTOR LENGTH
    H$PFVA = %O'32',				!POWER FAIL AST CONTROL BLOCK
    H$FPVA = %O'34',				!FLOATING POINT AST CONTROL BLOCK
    H$RCVA = %O'36',				!RECEIVE AST CONTROL BLOCK
    H$EFSV = %O'40',				!ADDRESS OF EVENT FLAG CONTEXT
    H$FPSA = %O'42',				!ADDRESS OF FLOATING POINT CONTEXT
    H$WND = %O'44',				!POINTER TO NUMBER OF WINDOW BLOCKS
    H$DSW = %O'46',				!DIRECTIVE STATUS WORD
    H$FCS = %O'50',				!ADDRESS OF FCS IMPURE STORAGE
    H$FORT = %O'52',				!ADDRESS OF FORTRAN IMPURE STORAGE
		DSK:TSKDEF.REQ[4,31]             31-Aug-79 14:30

    H$OVLY = %O'54',				!ADDRESS OF OVERLAY IMPURE STORAGE
    H$VEXT = %O'56',				!ADDRESS OF IMPURE VECTORS
    H$SPRI = %O'60',				!SWAPPING PRIORITY
    H$NML = %O'61',				!MAILBOX LUN
    H$RRVA = %O'62',				!RECEIVE BY REFERENCE AST CONTROL BLOCK
    H$GARD = %O'72',				!HEAER GUARD WORD POINTER
    H$NLUN = %O'74',				!NUMBER OF LUNS
    H$LUN = %O'76';				!LUN TABLE, 2 WORDS PER LUN

!
! FLAG BITS IN L$BFLG
!

LITERAL
    TS$PIC = %O'100000',			!POSITION-INDEPENDENT CODE
    TS$NHD = %O'40000',				!NO NEADER
    TS$ACP = %O'20000',				!ANCILLARY CONTROL PROCESSOR
    TS$PMD = %O'10000',				!POST-MORTEM DUMP
    TS$SLV = %O'4000',				!CAN BE SLAVED
    TS$NSD = %O'2000',				!NO SEND TO TASK
    TS$NET = %O'1000',				!USES NETWORK
    TS$PRV = %O'400',				!PRIVILEGED
    TS$CMP = %O'200',				!COMPATABILITY MODE
    TS$CHK = %O'100',				!NOT CHECKPOINTABLE
    TS$RES = %O'40';				!MEMORY-RESIDENT OVERLAYS

!