--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:20 by OpenVMS SDL EV3-3 -- Source: 22-APR-1993 10:49:45 $1$DGA8085:[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_K_LENGTH : constant := 48; -- 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_TYPE is record FLINK : ADDRESS; -- FLINK BLINK : ADDRESS; -- BLINK SIZE : UNSIGNED_LONGWORD; -- size of DEA record TYP : UNSIGNED_LONGWORD; -- type of structure (DYN$C_DEA) FLAGS : UNSIGNED_LONGWORD; -- flags (unused) DEACCESS_KEY : UNSIGNED_LONGWORD; -- deaccess audit key AUDIT_MASK : UNSIGNED_LONGWORD; -- alarm/audit mask OCB : ADDRESS; -- OCB address ALARM_SIZE : UNSIGNED_LONGWORD; -- size of alarm string AUDIT_SIZE : UNSIGNED_LONGWORD; -- size of audit string ALARM : ADDRESS; -- alarm string address AUDIT : ADDRESS; -- audit string address end record; for DEA_TYPE use record FLINK at 0 range 0 .. 31; BLINK at 4 range 0 .. 31; SIZE at 8 range 0 .. 31; TYP at 12 range 0 .. 31; FLAGS at 16 range 0 .. 31; DEACCESS_KEY at 20 range 0 .. 31; AUDIT_MASK at 24 range 0 .. 31; OCB at 28 range 0 .. 31; ALARM_SIZE at 32 range 0 .. 31; AUDIT_SIZE at 36 range 0 .. 31; ALARM at 40 range 0 .. 31; AUDIT at 44 range 0 .. 31; end record; for DEA_TYPE'SIZE use 384; DEA_TYPE_INIT : constant DEA_TYPE := (FLINK => ADDRESS_ZERO, BLINK => ADDRESS_ZERO, SIZE => 0, TYP => 0, FLAGS => 0, DEACCESS_KEY => 0, AUDIT_MASK => 0, OCB => ADDRESS_ZERO, ALARM_SIZE => 0, AUDIT_SIZE => 0, ALARM => ADDRESS_ZERO, AUDIT => ADDRESS_ZERO); end DEADEF;