-- --**************************************************************************** --* * --* 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:51:16 by OpenVMS SDL EV1-33 -- Source: 20-DEC-1994 13:41:52 $11$DUA933:[LIB_ADA.LIS]EICPDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package EICPDEF is -- module $EICPDEF --+ -- EICP - EXTENDED CHANGE IMAGE SECTION PROTECTION DATA -- -- THIS STRUCTURE IS USED IN THE IMAGE FIXUP SECTION BY THE LINKER -- TO INFORM THE IMAGE ACTIVATOR OF THE IMAGE SECTIONS THAT NEED -- THEIR PROTECTION CHANGED. --- EICP_K_LENGTH : constant := 16; -- size of one section's data EICP_C_LENGTH : constant := 16; -- size of one section's data EICP_S_EICPDEF : constant := 16; type EICP_BASEVA_TYPE is -- Virtual address of start of section record BASEVA : UNSIGNED_QUADWORD; ----Component(s) below are defined as comments since they ----overlap other fields ---- ----BASEVA : UNSIGNED_LONGWORD; end record; for EICP_BASEVA_TYPE use record BASEVA at 0 range 0 .. 63; ----Component representation spec(s) below are defined as ----comments since they overlap other fields ---- ----BASEVA at 0 range 0 .. 31; end record; for EICP_BASEVA_TYPE'SIZE use 64; EICP_BASEVA_TYPE_INIT : constant EICP_BASEVA_TYPE := (BASEVA => (0, 0)); type EICP_TYPE is record BASEVA : EICP_BASEVA_TYPE; -- Virtual address of start of section SIZE : UNSIGNED_LONGWORD; -- size in bytes of the image section NEWPRT : UNSIGNED_LONGWORD; -- new protection end record; for EICP_TYPE use record BASEVA at 0 range 0 .. 63; SIZE at 8 range 0 .. 31; NEWPRT at 12 range 0 .. 31; end record; for EICP_TYPE'SIZE use 128; EICP_TYPE_INIT : constant EICP_TYPE := ( BASEVA => EICP_BASEVA_TYPE_INIT, SIZE => 0, NEWPRT => 0); end EICPDEF;