--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:28 by OpenVMS SDL EV3-3 -- Source: 11-MAY-1993 16:59:08 $1$DGA8085:[LIB_ADA.LIS]KFRHDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package KFRHDEF is -- module $KFRHDEF -- -- KNOWN FILE RESIDENT IMAGE HEADER DEFINITIONS -- KFRH_K_LENGTH : constant := 12; -- Length of overhead area KFRH_C_LENGTH : constant := 12; -- Length of overhead area KFRH_S_KFRHDEF : constant := 12; -- Old size name - synonym -- type KFRH_TYPE is record BUFEND : ADDRESS; -- Address of end of known file header ALIAS : UNSIGNED_WORD; -- Use secondary name on activation FILLER_1 : UNSIGNED_WORD; -- SPARE BYTE SIZE : UNSIGNED_WORD; -- Size of dynamic structure TYP : UNSIGNED_BYTE; -- Dynamic structure type HDRVER : UNSIGNED_BYTE; -- Image header version IHD : STRING(1 .. 0); -- Offset to decoded Image Header -- THE REMAINDER OF THIS STRUCTURE CONTAINS THE IMAGE HEADER OF THE -- SPECIFIED KNOWN FILE. THE LOCATION KFE$L_IMGHDR IN THE KNOWN FILE -- ENTRY POINTS KFRH$C_LENGTH INTO THIS STRUCTURE, I.E AT THE IMAGE HEADER -- ITSELF. -- end record; for KFRH_TYPE use record BUFEND at 0 range 0 .. 31; ALIAS at 4 range 0 .. 15; FILLER_1 at 6 range 0 .. 15; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; HDRVER at 11 range 0 .. 7; IHD at 12 range 0 .. -1; end record; for KFRH_TYPE'SIZE use 96; KFRH_TYPE_INIT : constant KFRH_TYPE := (BUFEND => ADDRESS_ZERO, ALIAS => 0, FILLER_1 => 0, SIZE => 0, TYP => 0, HDRVER => 0, IHD => (others => ASCII.NUL)); end KFRHDEF;