Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ms — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/MS - mapped segment manager calls                    1987/01/22

Include files:

     C:          /sys/ins/ms.ins.c
     Fortran:    /sys/ins/ms.ins.ftn
     Pascal:     /sys/ins/ms.ins.pas


Procedures and Functions:

    address  =  MS_$ADDMAP (old-address, start, desired-length,
                           mapped-length, status)
        Adds a new map of a different portion of previously mapped object.

    MS_$ADVICE (address, length, access, options, record-length, status)
        Provides the operating system with information on how you plan to
        access an object. This information helps the system optimize
        performance when managing the object.

    MS_$ATTRIBUTES (address, attrib-buf, attrib-len, attrib-max, status)
        Returns the selected attributes of a mapped object.

    address = MS_$CRMAPL (name, name-length, start, desired-length,
                          concurrency, status)
        Creates, maps, and locks an object.

    address = MS_$CRTEMP (volume-name, name-length, start, desired-length,
                          concurrency, status)
        Creates, maps, and locks an object.

    MS_$FW_FILE (address, status)
        Forces the system to write a mapped file onto disk.

    MS_$FW_FILE (address, deired-length, status)
        Forces the system to write a portion of a mapped file onto disk.

    address = MS_$MAPL (name, name-length, start, desired-length, concurrency,
                        access, extend, length-mapped, status)
        Maps the specified portion of a file-system object into an
        available region of the process address space. This call also
        locks the object.

    address-ptr := MS_$MAPL_STREAM (xoid, start, desired-length, concurrency,
                                    access, extend, length-mapped, status)
        Maps the specified filesystem object, given its xoid, into an
        available region of the process address space.  This call also locks
        the object and protects the mapping on a UNIX EXEC call.
        For type managers only.

    MS_$MK_PERMANENT (address, option, name, name-length, status)
        Makes a temporary file permanent and names it.

    MS_$MK_TEMPORARY (address, status)
        Makes a permanent object temporary.

    same-volume = MS_$NEIGHBORS (address1, address2, status)
        Indicates whether two temporary objects are neighbors.

    MS_$RELOCK (virtual-address, access, status)
        Changes the lock on an object.

    address  =  MS_$REMAP (old-address, start, desired-length,
                           remapped-length, status)
        Maps a different portion of a previously mapped object.

    MS_$TRUNCATE (address, length, status)
        Truncates a mapped object to the specified length.

    MS_$UNMAP (address, length, status)
        Unmaps a previously mapped object.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026