From: CSBVAX::MRGATE!RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP 6-AUG-1988 09:24 To: ARISIA::EVERHART Subj: Re: EXE$EPID_TO_PCB - Documentation? Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Fri, 5 AUG 88 18:21:44 PDT Received: from ucbvax.berkeley.edu by KL.SRI.COM with TCP; Fri, 5 Aug 88 17:59:17 PDT Received: by ucbvax.berkeley.edu (5.59/1.28) id AA24348; Fri, 5 Aug 88 14:44:39 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 5 Aug 88 15:55:11 GMT From: voder!blia!ted@ucbvax.Berkeley.EDU (Ted Marshall) Organization: Britton Lee, Los Gatos, CA Subject: Re: EXE$EPID_TO_PCB - Documentation? Message-Id: <5146@blia.BLI.COM> References: <880723070234.29e019ad@LBL.Gov> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <880723070234.29e019ad@LBL.Gov>, nagy%warner.hepnet@LBL.GOV (Frank J. Nagy, VAX Wizard & Guru) writes: } From my notes (ultimate source is the VMS fiche, of course): } EXE$EPID_TO_PCB extended PID (user visible) to PCB address } EXE$IPID_TO_PCB internal PID to PCB address } EXE$EPID_TO_IPID extended PID to internal PID } EXE$IPID_TO_EPID internal PID to external PID } } Calling sequence is: } } MOVL ,R0 } JSB G^EXE$... } BEQL } } Output PID or PCB address is returned in R0. R0 is set to 0 on an error. } The condition codes are set according to the R0 value, hence the suggested } BEQL after the JSB for error handling. One further note: the address conversion routines (EXE$%PID_TO_PCB) require they be all in kernal mode with IPL >= IPL$_SYNCH. This is according to the official documentation for these routines (yes, it exists!). These routines were documented in the _VAX/VMS_Release_Notes_Version_4.0_, order number AA-Z105A-TE, section 8.5.5. No, this was not put in the release notes for any other version of VMS. -- Ted Marshall ...!ucbvax!mtxinu!blia!ted mtxinu!blia!ted@Berkeley.EDU Britton Lee, Inc., 14600 Winchester Blvd, Los Gatos, Ca 95030 (408)378-7000 The opinions expressed above are those of the poster and not his employer.