-- --**************************************************************************** --* * --* 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:53:56 by OpenVMS SDL EV1-33 -- Source: 2-APR-1992 16:01:46 $11$DUA933:[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 := 12; -- Length of RDAB RDAB_C_LENGTH : constant := 12; -- Length of RDAB 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_4; 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 .. 7; end record; for RDAB_ACCES_TYPE'SIZE use 8; 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 : UNSIGNED_LONGWORD; -- pointer to the RDDB MAC : UNSIGNED_LONGWORD; -- spare longword SEQ : UNSIGNED_BYTE; -- RDAB sequence number ACCES : RDAB_ACCES_TYPE; -- access mask ACMODE : UNSIGNED_BYTE; -- access mode (RSDM_ID) DOM_ACMODE : UNSIGNED_BYTE; -- 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 .. 7; ACCES at 9 range 0 .. 7; ACMODE at 10 range 0 .. 7; DOM_ACMODE at 11 range 0 .. 7; end record; for RDAB_TYPE'SIZE use 96; RDAB_TYPE_INIT : constant RDAB_TYPE := (RDDB => 0, MAC => 0, SEQ => 0, ACCES => RDAB_ACCES_TYPE_INIT, ACMODE => 0, DOM_ACMODE => 0); end RDABDEF;