-- --**************************************************************************** --* * --* 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:51:44 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:40:19 $11$DUA933:[LIB_ADA.LIS]ERBDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package ERBDEF is -- module $ERBDEF -- -- ERROR LOGGING MESSAGE RECOVERY BLOCK -- ERB_C_HDR_LENGTH : constant := 24; -- 0th BUFF. STARTS HERE ERB_K_HDR_LENGTH : constant := 24; -- 0th BUFF. STARTS HERE type ERB_TYPE is record FILLER0 : UNSIGNED_LONGWORD; -- POSSIBLE FLNK FILLER4 : UNSIGNED_LONGWORD; -- POSSIBLE BLNK BLOCK_SIZE : UNSIGNED_WORD; -- RETURNED BY ALLOCATION BUFPAGES : UNSIGNED_BYTE; -- V5.1 and + : PAGES / BUFFER FILLERB : UNSIGNED_BYTE; -- UNUSED ALLOCATED : UNSIGNED_LONGWORD; -- BYTES ALLOC'D FOR THIS BLOCK BUFCNT : UNSIGNED_LONGWORD; -- # BUFFERS, NOT INCL CRASH BUF HEAD : UNSIGNED_WORD; -- RING HEAD INDEX AT CRASH TAIL : UNSIGNED_WORD; -- RING TAIL AT CRASH end record; for ERB_TYPE use record FILLER0 at 0 range 0 .. 31; FILLER4 at 4 range 0 .. 31; BLOCK_SIZE at 8 range 0 .. 15; BUFPAGES at 10 range 0 .. 7; FILLERB at 11 range 0 .. 7; ALLOCATED at 12 range 0 .. 31; BUFCNT at 16 range 0 .. 31; HEAD at 20 range 0 .. 15; TAIL at 22 range 0 .. 15; end record; for ERB_TYPE'SIZE use 192; ERB_TYPE_INIT : constant ERB_TYPE := (FILLER0 => 0, FILLER4 => 0, BLOCK_SIZE => 0, BUFPAGES => 0, FILLERB => 0, ALLOCATED => 0, BUFCNT => 0, HEAD => 0, TAIL => 0); end ERBDEF;