DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦81764de9e⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Ioctl_Fmt, seg_05093e

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



package Ioctl_Fmt is
--
--\x09This package contains miscellaneous flag info for ioctl
--
-- Ioctl's have the command encoded in the lower word,
-- and the size of any in or out parameters in the upper
-- word.  The high 2 bits of the upper word are used
-- to encode the in/out status of the parameter; for now
-- we restrict parameters to at most 128 bytes.
--
    Ioc_Void : constant := 16#20000000#; -- no parameters
    Ioc_Out : constant := 16#40000000#; -- copy out parameters
    Ioc_In : constant := -16#7FFFFFFF# - 1; -- copy in parameters
    Ioc_Inout : constant := (Ioc_In + Ioc_Out);

    function Fmt_Io_Cnst (X : Character; Y : Integer) return Integer;
    function Fmt_Ior_Cnst (X : Character; Y, Tsize : Integer) return Integer;
    function Fmt_Iow_Cnst (X : Character; Y, Tsize : Integer) return Integer;
    function Fmt_Iowr_Cnst (X : Character; Y, Tsize : Integer) return Integer;

    pragma Inline (Fmt_Io_Cnst, Fmt_Ior_Cnst, Fmt_Iow_Cnst, Fmt_Iowr_Cnst);
end Ioctl_Fmt;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=16 rec1=00 rec2=01 rec3=092
        [0x01] rec0=04 rec1=00 rec2=02 rec3=000
    tail 0x2154af646878e78540ae9 0x42a00088462060003