-- --**************************************************************************** --* * --* 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:54:01 by OpenVMS SDL EV1-33 -- Source: 1-MAR-1991 13:57:30 $11$DUA933:[LIB_ADA.LIS]RGBDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package RGBDEF is -- module $RGBDEF --+ -- RGB - Range Block -- -- Range Block is a user defined structure passed by reference to the Lock -- Manager $enq, $enqw and $deq system system services via the optional [RANGE] -- argument. -- The Range Block specifies a relative start and length of a resource range -- to be locked, converted or unlocked. --- RGB_C_LENGTH : constant := 16; -- LENGTH OF FIXED PART RGB_K_LENGTH : constant := 16; -- LENGTH OF FIXED PART RGB_K_MAXRANGE : constant := -1; -- Maximum range of resource type RGB_TYPE is record START : UNSIGNED_QUADWORD; -- relative start of range to lock LENGTH : UNSIGNED_QUADWORD; -- length of range to lock end record; for RGB_TYPE use record START at 0 range 0 .. 63; LENGTH at 8 range 0 .. 63; end record; for RGB_TYPE'SIZE use 128; RGB_TYPE_INIT : constant RGB_TYPE := (START => (0, 0), LENGTH => (0, 0)); end RGBDEF;