--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:34 by OpenVMS SDL EV3-3 -- Source: 19-APR-1993 14:51:25 $1$DGA8085:[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 RGB_S_RGBDEF : constant := 16; 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;