-- --**************************************************************************** --* * --* 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:53:33 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:50:33 $11$DUA933:[LIB_ADA.LIS]PDBDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package PDBDEF is -- module $PDBDEF --+ -- DEFINE DEVICE PERFORMANCE DATA BLOCK --- PDB_K_LENGTH : constant := 52; -- LENGTH OF DATA CONTROL BLOCK PDB_C_LENGTH : constant := 52; -- LENGTH OF DATA CONTROL BLOCK type PDB_TYPE is record FREEFL : UNSIGNED_LONGWORD; -- FREE BUFFER LISTHEAD FORWARD LINK FREEBL : UNSIGNED_LONGWORD; -- FREE BUFFER LISTHEAD BACKLINK SIZE : UNSIGNED_WORD; -- SIZE OF DATA STRUCTURE TYP : UNSIGNED_BYTE; -- TYPE OF DATA STRUCTURE OVERRUN : UNSIGNED_BYTE; -- OVERRUN INDICATOR FILLFL : UNSIGNED_LONGWORD; -- FILLED BUFFER LISTHEAD FORWARD LINK FILLBL : UNSIGNED_LONGWORD; -- FILLED BUFFER LISTHEAD BACKWARD LINK CURBUF : UNSIGNED_LONGWORD; -- ADDRESS OF CURRENT BUFFER NXTBUF : UNSIGNED_LONGWORD; -- ADDRESS OF NEXT LOCATION IN BUFFER ENDBUF : UNSIGNED_LONGWORD; -- ADDRESS OF END OF BUFFER PID : UNSIGNED_LONGWORD; -- PROCESS ID OF DATA COLLECTION PROCESS DEVCLASS : UNSIGNED_BYTE; -- DEVICE CLASS SELECTION DEVTYPE : UNSIGNED_BYTE; -- DEVICE TYPE SELECTION ANDM : UNSIGNED_WORD; -- STATUS SELECTION 'AND' MASK XORM : UNSIGNED_WORD; -- STATUS SELECTION 'XOR' MASK BUFCNT : UNSIGNED_WORD; -- COUNT OF FILLED BUFFERS FUNC : UNSIGNED_QUADWORD; -- SELECTION FUNCTION MASK end record; for PDB_TYPE use record FREEFL at 0 range 0 .. 31; FREEBL at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; OVERRUN at 11 range 0 .. 7; FILLFL at 12 range 0 .. 31; FILLBL at 16 range 0 .. 31; CURBUF at 20 range 0 .. 31; NXTBUF at 24 range 0 .. 31; ENDBUF at 28 range 0 .. 31; PID at 32 range 0 .. 31; DEVCLASS at 36 range 0 .. 7; DEVTYPE at 37 range 0 .. 7; ANDM at 38 range 0 .. 15; XORM at 40 range 0 .. 15; BUFCNT at 42 range 0 .. 15; FUNC at 44 range 0 .. 63; end record; for PDB_TYPE'SIZE use 416; PDB_TYPE_INIT : constant PDB_TYPE := (FREEFL => 0, FREEBL => 0, SIZE => 0, TYP => 0, OVERRUN => 0, FILLFL => 0, FILLBL => 0, CURBUF => 0, NXTBUF => 0, ENDBUF => 0, PID => 0, DEVCLASS => 0, DEVTYPE => 0, ANDM => 0, XORM => 0, BUFCNT => 0, FUNC => (0, 0)); end PDBDEF;