-- --**************************************************************************** --* * --* Copyright (c) 2001 * --* by DIGITAL Equipment Corporation, Maynard, Mass. * --* * --* This software is furnished under a license and may be used and copied * --* only in accordance with the terms of such license and with the * --* inclusion of the above copyright notice. This software or any other * --* copies thereof may not be provided or otherwise made available to any * --* other person. No title to and ownership of the software is hereby * --* transferred. * --* * --* The information in this software is subject to change without notice * --* and should not be construed as a commitment by DIGITAL Equipment * --* Corporation. * --* * --* DIGITAL assumes no responsibility for the use or reliability of its * --* software on equipment which is not supplied by DIGITAL. * --* * --**************************************************************************** --******************************************************************************************************************** -- Created: 15-MAR-2001 22:52:51 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:46:38 $11$DUA933:[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 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;