--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:32 by OpenVMS SDL EV3-3 -- Source: 20-APR-1993 14:30:34 $1$DGA8085:[LIB_ADA.LIS]PBHDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package PBHDEF is -- module $PBHDEF --+ -- DEFINE PERFORMANCE BUFFER HEADER --- PBH_K_START : constant := 13; -- START OF DATA AREA PBH_C_START : constant := 13; -- START OF DATA AREA PBH_K_LENGTH : constant := 512; -- LENGTH OF PERFORMANCE DATA BUFFER PBH_C_LENGTH : constant := 512; -- LENGTH OF PERFORMANCE DATA BUFFER PBH_S_PBHDEF : constant := 512; type PBH_TYPE is record BUFRFL : ADDRESS; -- BUFFER FORWARD LINK BUFRBL : ADDRESS; -- BUFFER BACKWARD LINK SIZE : UNSIGNED_WORD; -- SIZE OF PERFORMANCE DATA BUFFER TYP : UNSIGNED_BYTE; -- DATA STRUCTURE TYPE MSGCNT : UNSIGNED_WORD; -- COUNT OF MESSAGES IN BUFFER FILLER_1 : UNSIGNED_BYTE_ARRAY (1 .. 499); -- DATA AREA end record; for PBH_TYPE use record BUFRFL at 0 range 0 .. 31; BUFRBL at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; MSGCNT at 11 range 0 .. 15; FILLER_1 at 13 range 0 .. 3991; end record; for PBH_TYPE'SIZE use 4096; PBH_TYPE_INIT : constant PBH_TYPE := (BUFRFL => ADDRESS_ZERO, BUFRBL => ADDRESS_ZERO, SIZE => 0, TYP => 0, MSGCNT => 0, FILLER_1 => (others => 0)); end PBHDEF;