/* Copyright 1989, 1991, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. rsxsys.h PDP-11 C RSX SYSLIB and System Directive Definitions */ #ifndef __PDP11C$RSXSYS_H #define __PDP11C$RSXSYS_H /* Define constants for all the directives. Using their respective directive identification codes (DICS) */ #define DIC$CMKT 0433 #define DIC$CMKTA 01433 #define DIC$DECL 0443 #define DIC$SPND 0455 #define DIC$WSIG 0461 #define DIC$EXIT 0463 #define DIC$DSCP 0537 #define DIC$ENCP 0541 #define DIC$DSAR 0543 #define DIC$IHAR 0543 #define DIC$ENAR 0545 #define DIC$ASTX 0563 #define DIC$GSSW 0575 #define DIC$STOP 0603 #define DIC$ULGF 0637 #define DIC$RMAF 0643 #define DIC$STAF 01015 #define DIC$STAFA 01241 #define DIC$SRRA 01025 #define DIC$EXST 01035 #define DIC$CLEF 01037 #define DIC$SETF 01041 #define DIC$RDEF 01045 #define DIC$RDAF 01047 #define DIC$WTSE 01051 #define DIC$EXIF 01065 #define DIC$CRRG 01067 #define DIC$ATRG 01071 #define DIC$DTRG 01073 #define DIC$GTIM 01075 #define DIC$GTSK 01077 #define DIC$RREF 01121 #define DIC$SRDA 01153 #define DIC$SPRA 01155 #define DIC$SFPA 01157 #define DIC$GMCX 01161 #define DIC$CRAW 01165 #define DIC$MAP 01171 #define DIC$UMAP 01173 #define DIC$STSE 01207 #define DIC$ELVT 01227 #define DIC$CRGF 01235 #define DIC$ELGF 01237 #define DIC$SPEA 01245 #define DIC$SREA 01247 #define DIC$SCAA 01255 #define DIC$FEAT 01261 #define DIC$MSDS 01311 #define DIC$TFEA 01321 #define DIC$RRST 01325 #define DIC$GLUN 01405 #define DIC$CSRQ 01431 #define DIC$RDXF 01433 #define DIC$WTLO 01453 #define DIC$RSUM 01457 #define DIC$STIM 01475 #define DIC$ABRT 01523 #define DIC$EXTK 01531 #define DIC$SVDB 01547 #define DIC$SVTK 01551 #define DIC$SNXC 01577 #define DIC$USTP 01605 #define DIC$STLO 01611 #define DIC$CNCT 01617 #define DIC$SCAL 01633 #define DIC$SREX 01647 #define DIC$SWST 01657 #define DIC$CPCR 01715 #define DIC$ALUN 02007 #define DIC$ALTP 02011 #define DIC$GPRT 02101 #define DIC$GREG 02101 #define DIC$RCVD 02113 #define DIC$RCST 02115 #define DIC$EMST 02223 #define DIC$MVTS 02313 #define DIC$MRKT 02427 #define DIC$SREF 02505 #define DIC$SDAT 02507 #define DIC$CRVT 02625 #define DIC$SCLI 02655 #define DIC$ACHN 02717 #define DIC$DLON 02717 #define DIC$DLOG 02717 #define DIC$SDIR 02717 #define DIC$VRCD 03113 #define DIC$VRCX 03115 #define DIC$VRCS 03213 #define DIC$GDIR 03317 #define DIC$RQST 03413 #define DIC$GCCI 03577 #define DIC$CINT 03601 #define DIC$SDRC 03615 #define DIC$GCII 03655 #define DIC$CLON 03717 #define DIC$CLOG 03717 #define DIC$FSS 03717 #define DIC$VSDA 04107 #define DIC$VSRC 04215 #define DIC$SMSG 04253 #define DIC$SDRP 04615 #define DIC$RLON 05317 #define DIC$RLOG 05317 #define DIC$TLON 05317 #define DIC$TLOG 05317 #define DIC$RUN 05421 #define DIC$QIO 06001 #define DIC$QIOW 06003 #define DIC$SPWN 06413 #define DIC$SPWNA 07013 #define DIC$PFCS 06717 #define DIC$PRMS 06717 #define DIC$RPOI 010013 #define DIC$GMCR 024577 #define RSX$GI$APR 011 /* Get System APRs */ #define RSX$GI$DEF 002 /* Set Task Default UIC */ #define RSX$GI$DEV 006 /* Get Device Information */ #define RSX$GI$FMK 03 /* Get Feature Mask Words */ #define RSX$GI$GAS 00 /* Get Assigned Device Name */ #define RSX$GI$QMC 04 /* Queue MCR Commad Line */ #define RSX$GI$REN 010 /* Rename Task */ #define RSX$GI$SPR 07 /* Set Task Privilege */ #define RSX$GI$SSN 015 /* Return Task Information */ #define RSX$GI$TSK 012 /* Get User Account Block */ #define RSX$GI$UAB 05 /* Get User Account Block */ #define RSX$GI$UIC 01 /* Get System UIC Information */ #define RSX$GI$UPD 021 /* Update UICs, Default Dir */ #define ABORT C$CABT /* Abort Task */ #define ASTX C$ASTX /* AST Service Exit */ #define CINT C$CINT /* Connect to Interrupt Vector */ #define GIN C$CGIN /* General Information */ #define EXIT C$CEXE /* Task Exit */ #define MSDS C$MSDS /* Map Supervisor D-Space */ #define MVTS C$MVTS /* Move To/From Super I/D Space */ #define SCAA C$SCAA /* Specify Command Arrival AST */ #define SCAL C$SCAL /* Supervisor Call */ #define SFPA C$SFPA /* Set FPP Exception AST */ #define SPEA C$SPEA /* Specify Parity Error Call */ #define SRRA C$SRRA /* Specify Receive-by-reference AST */ #define SVDB C$SVDB /* Specify SST Vctr for Dbg Aid */ #define SVTK C$SVTK /* Specify SST Vctr Tbl for Tsk */ #define SWST C$SWST /* Switch State */ #define RSXDIR C$RXDR /* DIR$ */ extern short $DSW; /* Directive Status Word */ /* Fortran Linkage Definitions: */ #pragma linkage fortran ACHN, ALTPRI, ASNLUN, ATRG, CLREF, CRELON, CRELOG #pragma linkage fortran CANMT, CNCT, CNCTN, CPCR, CRAW, CRGF, CRRG #pragma linkage fortran CRVT, CANNALL, DECLAR, DELLON, DELLOG, DSASTER, INASTR #pragma linkage fortran DISCKP, DTRG, ELAW, ELGF, ELVT, EMST, ENASTER #pragma linkage fortran ENACKP, EXITIF, EXST, EXTTSK, FEAT, FSS, GTCMCI #pragma linkage fortran GETCII, GETDDS, GIN, GETLUN, GETMCR, GMCX, GETPAR #pragma linkage fortran GETREG, READSW, SSWTCH, GETTIM, GETTSK, MAP, MARK #pragma linkage fortran PRSFCS, PRSRMS, QIO, WTQIO, RCST, RECEIV, RECOEX #pragma linkage fortran READEF, RCTLON, RCTLOG, RMAF, RPOI, REQUES, RREF #pragma linkage fortran RRST, RESUME, RUN, SETCLI, SEND, SETDDS, SDRC #pragma linkage fortran SDRCN, SDRP, SETEF, SMSG, SNXC, SUSPND, PWRUP #pragma linkage fortran SPAWN, SPAWNN, SREA, SREX, SREF, STAF, SETTIM #pragma linkage fortran STLOR, STLORS, STOP, STOPFR, TFEA, TRALON, TRALOG #pragma linkage fortran ULGF, UNMAP, USTP, VRCD, VRCS, VRCX, VSDA #pragma linkage fortran VSRC, VSRCN, WFSNE, WFLOR, WFLORS, WAITFR /* C Linkage Definitions: */ #pragma linkage c ABORT, ASTX, CINT, EXIT, MSDS, MVTS, SCAA #pragma linkage c SCAL, SFPA, SPEA, SRRA, SVDB, SVTK, RSXDIR void ABORT (short *__tsk, short *__ids); void ACHN (short *__mod, short *__itbmsk, short *__lun, short *__fsbuf, short *__fssz, short *__idsw); void ALTPRI (short *__tsk, short *__ipri, short *__ids); void ASNLUN (short *__lun, short *__dev, short *__iunt, short *__ids); void ASTX (short *__err); void ATRG (short *__irdb, short *__ids); void CINT (short *__vec, short *__base, short *__isr, short *__edir, short *__pri, short *__ast); void CLREF (short *__efn, short *__idsw); void CRELON (short *__mod, short *__itbnum, short *__lns, short *__lnssz, short *__iens, short *__ienssz, short *__idsw); void CRELOG (short *__mod, short *__itbnum, short *__lns, short *__lnssz, short *__iens, short *__ienssz, short *__idsw); void CANMT (short *__efn, short *__ids); void CNCT (short *__rtname, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__ids); void CNCTN (short *__rtname, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__ids); void CPCR (short *__name, short *__ids); void CRAW (short *__iwdb, short *__ids); void CRGF (short *__group, short *__idsw); void CRRG (short *__irdb, short *__ids); void CRVT (short *__iiast, short *__ioast, short *__iaast, short *__imlen, short *__iparm, short *__idsw); void CANALL (short *__tsk, short *__ids); void DECLAR (short *__ids); void DELLON (short *__mod, short *__itbnum, short *__lns, short *__lnssz, short *__idsw); void DELLOG (short *__mod, short *__itbnum, short *__lns, short *__lnssz, short *__idsw); void DSASTR (short *__ids); void INASTR (short *__ids); void DISCKP (short *__ids); void DTRG (short *__irdb, short *__ids); void ELAW (short *__iwdb, short *__ids); void ELGF (short *__group, short *__idsw); void ELVT (short *__iunum, short *__ids); void EMST (short *__rtname, short *__status, short *__ids); void ENASTR (short *__ids); void ENACKP (short *__ids); void EXITIF (short *__efn, short *__ids); void EXIT (short *__err); void EXST (short *__istat); void EXTTSK (short *__inc, short *__ids); void FEAT (short *__isym, short *__ids); void FSS (short *__fsbuf, short *__fssz, short *__prsblk, short *__prssz, short *__reserv, short *__idsw); void GTCMCI (short *__icbf, short *__icbfl, short *__iibuf, short *__iibfl, short *__iaddr, short *__incp, short *__idsw); void GETCII (short *__ibuf, short *__ibfl, short *__icli, short *__idev, short *__iunit, short *__ids); void GETDDS (short *__mod, short *__iens, short *__ienssz, short *__irsize, short *__idsw); void GIN (short *__function, ...); void GETLUN (short *__lun, short *__dat, short *__ids); void GETMCR (short *__buf, short *__ids); void GMCX (short *__imcx, short *__ids); void GETPAR (short *__prt, short *__buf, short *__ids); void GETREG (short *__rid, short *__buf, short *__ids); void READSW (short *__isw); void SSWTCH (short *__ibt, short *__ist); void GETTIM (short *__ibfp, short *__ids); void GETTSK (short *__buf, short *__ids); void MAP (short *__iwdb, short *__ids); void MARK (short *__efn, short *__tmg, short *__tnt, short *__ids); void MSDS (short *__mask); void MVTS (short *__action, short *__addr, short *__val_buff); void PRSFCS (short *__mod, short *__itbmsk, short *__lun, short *__prbuf, short *__prsz, short *__rsbuf, short *__rssz, short *__rslen, short *__prsblk, short *__prssz, short *__dfnbk, short *__dfnsz, short *__rsmsk, short *__idsw); void PRSRMS (short *__mod, short *__itbmsk, short *__lun, short *__prbuf, short *__prsz, short *__rsbuf, short *__rssz, short *__rslen, short *__prsblk, short *__prssz, short *__dfnbk, short *__dfnsz, short *__rsmsk, short *__idsw); void QIO (short *__fnc, short *__lun, short *__efn, short *__pri, short *__isb, short *__prl, short *__ids); void WTQIO (short *__fnc, short *__lun, short *__efn, short *__pri, short *__isb, short *__prl, short *__ids); void RCST (short *__rtname, short *__ibuf, short *__idsw); void RECEIV (short *__tsk, short *__buf, short *__null, short *__ids); void RECOEX (short *__tsk, short *__buf, short *__null, short *__ids); void READEF (short *__efn, short *__ids); void RCTLON (short *__mod, short *__itbmsk, short *__status, short *__lns, short *__lnssz, short *__iens, short *__ienssz, short *__rsize, short *__rtbmod, short *__idsw); void RCTLOG (short *__mod, short *__itbmsk, short *__status, short *__lns, short *__lnssz, short *__iens, short *__ienssz, short *__rsize, short *__rtbmod, short *__idsw); void RMAF (short *__idsw); void RPOI (short *__tname, short *__iugc, short *__iumc, short *__iparen, short *__ibuf, short *__ibfl, short *__isc, short *__idnam, short *__iunet, short *__itask, short *__ocbad, short *__idsw); void REQUES (short *__tsk, short *__opt, short *__ids); void RREF (short *__iwdb, short *__isrb, short *idsw); void RRST (short *__iwdb, short *__isrb, short *__idsw); void RESUME (short *__tsk, short *__ids); void RUN (short *__tsk, short *__opt, short *__smg, short *__snt, short *__rmg, short *__rnt, short *__ids); void SCAA (short *__ast); void SCAL (short *__saddr, short *__caddr, short *__err); void SETCLI (short *__icli, short *__idev, short *__iunit, short *__ids); void SEND (short *__tsk, short *__buf, short *__efn, short *__ids); void SETDDS (short *__mod, short *__iens, short *__ienssz, short *__idsw); void SDRC (short *__rtname, short *__ibuf, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__idsw); void SDRCN (short *__rtname, short *__ibuf, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__idsw); void SDRP (short *__tsk, short *__ibuf, short *__ibfl, short *__iefn, short *__iflag, short *__iparen, short *__iocbad, short *__idsw); void SETEF (short *__efn, short *__idsw); void SFPA (short *__ast); void SMSG (short *__itgt, short *__ibuf, short *__ibufl, short *__iprm, short *__ids); void SNXC (short *__dnam, short *__iunit, short *__idsw); void SPEA (short *__ast); void SUSPND (short *__ids); void PWRUP (short *__sub); void SPAWN (short *__rtname, short *__iugc, short *__iumc, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__icmlin, short *__icmlen, short *__iunit, short *__dnam, short *__idsw); void SPAWNN (short *__rtname, short *__iugc, short *__iumc, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__icmlin, short *__icmlen, short *__iunit, short *__dnam, short *__idsw); void SREA (short *__ast, short *__idsw); void SREX (short *__ast, short *__ipblk, short *__ipblkl, short *__dummy, short *__idsw); void SREF (short *__tsk, short *__efn, short *__iwdb, short *__isrb, short *__ids); void SRRA (short *__ast); void STAF (short *__iaff, short *__idsw); void SETTIM (short *__ibufn, short *__ibufp, short *__idsw); void STLOR (short *__ef1, short *__ef2, ...); void STLORS (short *__idsw, short *__ef1, short *__ef2, ...); void STOP (short *__idsw); void STOPFR (short *__iefn, short *__idsw); void SVDB (short *__addr, short *__len); void SVTK (short *__addr, short *__len); void SWST (short *__base, short *__addr); void TFEA (short *__isym, short *__idsw); void TRALON (short *__mod, short *__tbmsk, short *__status, short *__lns, short *__lnssz, short *__ens, short *__ienssz, short *__rsize, short *__rtbmod, short *__idsw); void TRALOG (short *__mod, short *__tbmsk, short *__status, short *__lns, short *__lnssz, short *__ens, short *__ienssz, short *__rsize, short *__rtbmod, short *__idsw); void ULGF (short *__ids); void UNMAP (short *__iwdb, short *__idsw); void USTP (short *__rtname, short *__ids); void VRCD (short *__task, short *__bufadr, short *__buflen, short *__idsw); void VRCS (short *__task, short *__bufadr, short *__buflen, short *__idsw); void VRCX (short *__task, short *__bufadr, short *__buflen, short *__idsw); void VSDA (short *__task, short *__bufadr, short *__buflen, short *__efn, short *__ids); void VSRC (short *__rtname, short *__ibuf, short *__ibuflen, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__idsw); void VSRCN (short *__rtname, short *__ibuf, short *__ibuflen, short *__iefn, short *__iast, short *__iesb, short *__iparm, short *__idsw); void WFSNE(void); void WFLOR (short *__ef1, short *__ef2, ...); void WFLORS (short *__idsw, short *__ef1, short *__ef2, ...); void WAITFR (short *__efn, short *__idsw); int RSXDIR(void (* __dpberr) (void), int __diccode, ...); #endif