--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:16 by OpenVMS SDL EV3-3 -- Source: 20-APR-1993 10:15:39 $1$DGA8085:[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; BBS_S_BBSDEF : 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 : ADDRESS; -- 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 => ADDRESS_ZERO, FID => (others => 0)); end BBSDEF;