-- --**************************************************************************** --* * --* 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:27 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:43:02 $11$DUA933:[LIB_ADA.LIS]IHXDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package IHXDEF is -- module $IHXDEF --+ -- IMAGE HEADER RECORD DEFINITIONS - CROSS LINKER - MAJORID = "01" -- 1ST RECORD OF IMAGE HEADER BLOCK --- IHX_K_MAJORID : constant := 12592; -- ^A/01/ MAJOR ID VALUE FOR CROSS LINKER IHX_K_MINORID : constant := 12592; -- ^A/01/ MINOR ID VALUE FOR CROSS LINKER IHX_K_MINORID1 : constant := 12592; -- ^A/01/ MINOR ID VALUE FOR CROSS LINKER WITH --SYMBOL TABLE AND 3RD TRANSFER ADR IHX_K_LENGTH : constant := 56; -- LENGTH OF CROSS LINKER HEADER IHX_C_LENGTH : constant := 56; -- LENGTH OF CROSS LINKER HEADER type IHX_TYPE is record SIZE : UNSIGNED_WORD; -- SIZE IN BYTE OF IMAGE HEADER RECORD HDRBLKCNT : UNSIGNED_BYTE; -- COUNT OF BLOCKS IN IMAGE HEADER FILLER_1 : UNSIGNED_BYTE; -- SPARE STARTADR : UNSIGNED_QUADWORD; -- START ADDRESS MAJORID : UNSIGNED_WORD; -- MAJOR ID OF IMAGE HEADER MINORID : UNSIGNED_WORD; -- MINOR ID OF IMAGE HEADER IMGNAM : STRING(1 .. 24); -- IMAGE NAME -- -- THE FOLLOWING FIELDS ARE PRESENT FOR MINOR ID'S GREATER OR EQUAL TO "03" -- DSTVBN : UNSIGNED_LONGWORD; -- DEBUG SYMBOL TABLE VBN GSTVBN : UNSIGNED_LONGWORD; -- GLOBAL SYMBOL TABLE VBN DSTBLKS : UNSIGNED_WORD; -- DEBUG SYMBOL TABLE BLOCKS GSTRECS : UNSIGNED_WORD; -- GLOBAL SYMBOL TABLE RECORD COUNT TFRADR3 : UNSIGNED_LONGWORD; -- THIRD TRANSFER ADDRESS end record; for IHX_TYPE use record SIZE at 0 range 0 .. 15; HDRBLKCNT at 2 range 0 .. 7; FILLER_1 at 3 range 0 .. 7; STARTADR at 4 range 0 .. 63; MAJORID at 12 range 0 .. 15; MINORID at 14 range 0 .. 15; IMGNAM at 16 range 0 .. 191; DSTVBN at 40 range 0 .. 31; GSTVBN at 44 range 0 .. 31; DSTBLKS at 48 range 0 .. 15; GSTRECS at 50 range 0 .. 15; TFRADR3 at 52 range 0 .. 31; end record; for IHX_TYPE'SIZE use 448; IHX_TYPE_INIT : constant IHX_TYPE := (SIZE => 0, HDRBLKCNT => 0, FILLER_1 => 0, STARTADR => (0, 0), MAJORID => 0, MINORID => 0, IMGNAM => (others => ASCII.NUL), DSTVBN => 0, GSTVBN => 0, DSTBLKS => 0, GSTRECS => 0, TFRADR3 => 0); end IHXDEF;