-- --**************************************************************************** --* * --* 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:02 by OpenVMS SDL EV1-33 -- Source: 11-JAN-1993 16:45:48 $11$DUA933:[LIB_ADA.LIS]DEADEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package DEADEF is -- module $DEADEF -- -- Define the layout of the Deaccess Audit Pending block. This record is -- used to store the information necessary to write a deaccess audit event -- upon object deaccess. These records are queued off a per-process queue -- (NSA$GQ_DEACCESS_AUDIT) and managed by NSA$QUEUE_DEACCESS_AUDIT, -- NSA$DEACCESS_AUDIT, and $DELPRC. -- DEA_M_SYSTEM_GLOBAL : constant := 16#00000001#; DEA_M_GROUP_GLOBAL : constant := 16#00000002#; DEA_K_LENGTH : constant := 40; -- Define flags used by the NSA$DEACCESS_AUDIT routine. DEA_K_FLUSH_ALL : constant := 1; -- flush all DEAs DEA_K_FLUSH_BY_OCB : constant := 2; -- flush all DEAs by object class type DEA_FLAGS_TYPE is -- miscellaneous flags record SYSTEM_GLOBAL : BOOLEAN; -- file-backed system global section GROUP_GLOBAL : BOOLEAN; -- file-backed group global section FILLER_1 : UNSIGNED_6; end record; for DEA_FLAGS_TYPE use record SYSTEM_GLOBAL at 0 range 0 .. 0; GROUP_GLOBAL at 0 range 1 .. 1; FILLER_1 at 0 range 2 .. 7; end record; for DEA_FLAGS_TYPE'SIZE use 8; DEA_FLAGS_TYPE_INIT : constant DEA_FLAGS_TYPE := (SYSTEM_GLOBAL => FALSE, GROUP_GLOBAL => FALSE, FILLER_1 => 0); type DEA_TYPE is record FLINK : UNSIGNED_LONGWORD; -- FLINK BLINK : UNSIGNED_LONGWORD; -- BLINK SIZE : UNSIGNED_WORD; -- size of DEA record TYP : UNSIGNED_BYTE; -- type of structure (DYN$C_DEA) FLAGS : DEA_FLAGS_TYPE; -- miscellaneous flags DEACCESS_KEY : UNSIGNED_LONGWORD; -- deaccess audit key AUDIT_MASK : UNSIGNED_WORD; -- alarm/audit mask FILLER_1 : UNSIGNED_WORD; -- alignment OCB : UNSIGNED_LONGWORD; -- OCB address ALARM_SIZE : UNSIGNED_WORD; -- size of alarm string AUDIT_SIZE : UNSIGNED_WORD; -- size of audit string ALARM : UNSIGNED_LONGWORD; -- alarm string address AUDIT : UNSIGNED_LONGWORD; -- audit string address FILLER_2 : UNSIGNED_LONGWORD; -- reserved end record; for DEA_TYPE use record FLINK at 0 range 0 .. 31; BLINK at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; FLAGS at 11 range 0 .. 7; DEACCESS_KEY at 12 range 0 .. 31; AUDIT_MASK at 16 range 0 .. 15; FILLER_1 at 18 range 0 .. 15; OCB at 20 range 0 .. 31; ALARM_SIZE at 24 range 0 .. 15; AUDIT_SIZE at 26 range 0 .. 15; ALARM at 28 range 0 .. 31; AUDIT at 32 range 0 .. 31; FILLER_2 at 36 range 0 .. 31; end record; for DEA_TYPE'SIZE use 320; DEA_TYPE_INIT : constant DEA_TYPE := (FLINK => 0, BLINK => 0, SIZE => 0, TYP => 0, FLAGS => DEA_FLAGS_TYPE_INIT, DEACCESS_KEY => 0, AUDIT_MASK => 0, FILLER_1 => 0, OCB => 0, ALARM_SIZE => 0, AUDIT_SIZE => 0, ALARM => 0, AUDIT => 0, FILLER_2 => 0); end DEADEF;