--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:34 by OpenVMS SDL EV3-3 -- Source: 20-APR-1993 15:11:23 $1$DGA8085:[LIB_ADA.LIS]RDABDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package RDABDEF is -- module $RDABDEF RDAB_M_DEFAULT : constant := 16#00000008#; RDAB_K_LENGTH : constant := 24; -- Length of RDAB RDAB_C_LENGTH : constant := 24; -- Length of RDAB RDAB_S_RDABDEF : constant := 24; type RDAB_ACCES_TYPE is -- access mask record FILLER_1 : BOOLEAN; -- stores RSDM$V_READ FILLER_2 : BOOLEAN; -- stores RSDM$V_WRITE FILLER_3 : BOOLEAN; -- stores RSDM$V_LOCK DEFAULT : BOOLEAN; -- RADB created as default FILLER_4 : UNSIGNED_28; end record; for RDAB_ACCES_TYPE use record FILLER_1 at 0 range 0 .. 0; FILLER_2 at 0 range 1 .. 1; FILLER_3 at 0 range 2 .. 2; DEFAULT at 0 range 3 .. 3; FILLER_4 at 0 range 4 .. 31; end record; for RDAB_ACCES_TYPE'SIZE use 32; RDAB_ACCES_TYPE_INIT : constant RDAB_ACCES_TYPE := (FILLER_1 => FALSE, FILLER_2 => FALSE, FILLER_3 => FALSE, DEFAULT => FALSE, FILLER_4 => 0); type RDAB_TYPE is record RDDB : ADDRESS; -- pointer to the RDDB MAC : UNSIGNED_LONGWORD; -- spare longword SEQ : UNSIGNED_LONGWORD; -- RDAB sequence number ACCES : RDAB_ACCES_TYPE; -- access mask ACMODE : UNSIGNED_LONGWORD; -- access mode (RSDM_ID) DOM_ACMODE : UNSIGNED_LONGWORD; -- domain access mode end record; for RDAB_TYPE use record RDDB at 0 range 0 .. 31; MAC at 4 range 0 .. 31; SEQ at 8 range 0 .. 31; ACCES at 12 range 0 .. 31; ACMODE at 16 range 0 .. 31; DOM_ACMODE at 20 range 0 .. 31; end record; for RDAB_TYPE'SIZE use 192; RDAB_TYPE_INIT : constant RDAB_TYPE := (RDDB => ADDRESS_ZERO, MAC => 0, SEQ => 0, ACCES => RDAB_ACCES_TYPE_INIT, ACMODE => 0, DOM_ACMODE => 0); end RDABDEF;