VMS Help  —  System Services, $ULWSET  Arguments
 inadr

    OpenVMS usage:address_range
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference-array reference or descriptor
    Starting and ending virtual addresses of the pages to be
    unlocked. The inadr argument is the address of a 2-longword array
    containing, in order, the starting and ending process virtual
    addresses.

    Only the virtual page number portion of each virtual address is
    used; the low-order byte-within-page bits are ignored. If the
    starting and ending virtual address are the same, a single page
    is unlocked.

    If more than one page is being unlocked and you need to determine
    specifically which pages had been previously unlocked, you should
    unlock the pages one at a time, that is, one page per call
    to $ULWSET. The condition value returned by $ULWSET indicates
    whether the page was previously unlocked.

    On Alpha and Integrity server systems, if the first address in
    the 2-longword array is within an image mapped to your process,
    the entire image specified by the address is unlocked from the
    working set.

 retadr

    OpenVMS usage:address_range
    type:         longword (unsigned)
    access:       write only
    mechanism:    by reference-array reference or descriptor
    Starting and ending process virtual addresses of the pages that
    were actually unlocked by $CRMPSC. The retadr argument is the
    address of a 2-longword array containing, in order, the starting
    and ending process virtual addresses.

    If an error occurs while multiple pages are being unlocked,
    retadr specifies those pages that were successfully unlocked
    before the error occurred. If no pages were successfully
    unlocked, both longwords in the retadr array contain the value
    -1.

    On Alpha and Integrity server systems, if the inadr argument
    specifies an address within an image mapped to your process,
    retadr specifies only one range of pages unlocked from the
    working set. Many ranges of pages might be unlocked.

 acmode

    OpenVMS usage:access_mode
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    Access mode on behalf of which the request is being made. The
    acmode argument is a longword containing the access mode. The
    $PSLDEF macro defines the symbols for the four access modes.

    The most privileged access mode used is the access mode of the
    caller. To unlock any specified page, the resultant access mode
    must be equal to or more privileged than the access mode of the
    owner of that page.
Close Help