Path: utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!apple!voder!blia!ted
From: ted@blia.BLI.COM (Ted Marshall)
Newsgroups: comp.os.vms
Subject: Re: EXE$EPID_TO_PCB - Documentation?
Summary: VMS Release Notes (V4.0 only)
Message-ID: <5146@blia.BLI.COM>
Date: 5 Aug 88 15:55:11 GMT
References: <880723070234.29e019ad@LBL.Gov>
Organization: Britton Lee, Los Gatos, CA
Lines: 29
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.