--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:28 by OpenVMS SDL EV3-3 -- Source: 20-JAN-2004 10:53:17 $1$DGA8085:[LIB_ADA.LIS]KFDDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package KFDDEF is -- module $KFDDEF -- -- KNOWN FILE DEVICE AND DIRECTORY BLOCK DEFINITIONS -- KFD_C_LENGTH : constant := 17; -- Length of fixed area of kfd entry KFD_S_KFDDEF : constant := 17; -- Old size name - synonym type KFD_TYPE is record LINK : ADDRESS; -- Device, Directory, Extension (KFD) list link KFELIST : ADDRESS; -- Ordered Known file entry list header SIZE : UNSIGNED_WORD; -- Size of block TYP : UNSIGNED_BYTE; -- Structure type SPARE : UNSIGNED_BYTE; -- spare REFCNT : UNSIGNED_WORD; -- Number of KFE's with same KFD DEVLEN : UNSIGNED_BYTE; -- Length of Device string DIRLEN : UNSIGNED_BYTE; -- Length of Directory string DDTSTRLEN : UNSIGNED_BYTE; -- Length of Device, Directory, Type (DDT) string DDTSTR : STRING(1 .. 0); -- Offset to DDT string end record; for KFD_TYPE use record LINK at 0 range 0 .. 31; KFELIST at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; SPARE at 11 range 0 .. 7; REFCNT at 12 range 0 .. 15; DEVLEN at 14 range 0 .. 7; DIRLEN at 15 range 0 .. 7; DDTSTRLEN at 16 range 0 .. 7; DDTSTR at 17 range 0 .. -1; end record; for KFD_TYPE'SIZE use 136; KFD_TYPE_INIT : constant KFD_TYPE := (LINK => ADDRESS_ZERO, KFELIST => ADDRESS_ZERO, SIZE => 0, TYP => 0, SPARE => 0, REFCNT => 0, DEVLEN => 0, DIRLEN => 0, DDTSTRLEN => 0, DDTSTR => (others => ASCII.NUL)); end KFDDEF;