--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:29 by OpenVMS SDL EV3-3 -- Source: 12-MAY-1993 09:40:14 $1$DGA8085:[LIB_ADA.LIS]LIRDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package LIRDEF is -- module $LIRDEF --+ -- $LIRDEF - LOADABLE IMAGE RECORD DEFINITION -- -- A LOADABLE IMAGE RECORD DEFINES A ALTERNATE EXEC IMAGE THAT CAN -- BE LOADED BY INIT OR SYSINIT INTO THE SYSTEM. --- LIR_K_ID : constant := 257; -- LIR ID plus version LIR_K_INIT : constant := 0; -- INIT LIR_K_SYSINIT : constant := 1; -- SYSINIT LIR_K_WARNING : constant := 0; -- WARNING LIR_K_SUCCESS : constant := 1; -- SUCCESS LIR_K_ERROR : constant := 2; -- ERROR LIR_K_INFORMATION : constant := 3; -- INFORMATION LIR_K_FIXED : constant := 8; -- Length of fixed portion LIR_C_FIXED : constant := 8; -- Length of fixed portion LIR_K_LENGTH : constant := 256; -- Length of LIR LIR_C_LENGTH : constant := 256; -- Length of LIR LIR_S_LIRDEF : constant := 8; -- Old size name - synonym type LIR_TYPE is record ID : UNSIGNED_WORD; -- LIR ID field PHASE : UNSIGNED_WORD; -- LIR phase indicator -- LIR phase values SEVERITY : UNSIGNED_WORD; -- LIR severity indicator -- LIR severity values ERR_LEN : UNSIGNED_BYTE; -- Error message length ERR_OFF : UNSIGNED_BYTE; -- Error message offset IMAGE_NAME : STRING(1 .. 0); -- Start of image name counted string end record; for LIR_TYPE use record ID at 0 range 0 .. 15; PHASE at 2 range 0 .. 15; SEVERITY at 4 range 0 .. 15; ERR_LEN at 6 range 0 .. 7; ERR_OFF at 7 range 0 .. 7; IMAGE_NAME at 8 range 0 .. -1; end record; for LIR_TYPE'SIZE use 64; LIR_TYPE_INIT : constant LIR_TYPE := (ID => 0, PHASE => 0, SEVERITY => 0, ERR_LEN => 0, ERR_OFF => 0, IMAGE_NAME => (others => ASCII.NUL)); end LIRDEF;