-- --**************************************************************************** --* * --* 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:50:07 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:34:24 $11$DUA933:[LIB_ADA.LIS]BBSDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package BBSDEF is -- module $BBSDEF --+ -- -- Structure of message from disk ACP to bad block scan utility. -- --- BBS_K_LENGTH : constant := 18; BBS_C_LENGTH : constant := 18; type BBS_TYPE is record MSGTYPE : UNSIGNED_BYTE; -- message type code (MSG$C_SCANBAD) FILLER_1 : UNSIGNED_BYTE_ARRAY (1 .. 3); -- unused SEQUENCE : UNSIGNED_WORD; -- message sequence number FILLER_2 : UNSIGNED_WORD; -- unused UCB : UNSIGNED_LONGWORD; -- UCB address of device FID : UNSIGNED_WORD_ARRAY (1 .. 3); -- file ID of file end record; for BBS_TYPE use record MSGTYPE at 0 range 0 .. 7; FILLER_1 at 1 range 0 .. 23; SEQUENCE at 4 range 0 .. 15; FILLER_2 at 6 range 0 .. 15; UCB at 8 range 0 .. 31; FID at 12 range 0 .. 47; end record; for BBS_TYPE'SIZE use 144; BBS_TYPE_INIT : constant BBS_TYPE := (MSGTYPE => 0, FILLER_1 => (others => 0), SEQUENCE => 0, FILLER_2 => 0, UCB => 0, FID => (others => 0)); end BBSDEF;