1 /* Begin include file ..... dump_mpc_data.incl.pl1 */
 2 
 3 /* Structure of data used by the dump_mpc command */
 4 
 5 /* Written March 1977 by Larry Johnson */
 6 /* Modified Jan 1981 by Rich Coppola to add additional info about mpc's */
 7 /* Modified May 1982 by Rich Coppola to add structure for EURC statistics */
 8 /*
 9    Modified June 1984 by Paul Farley to add MSP800(DAU) support.
10 */
11 
12 dcl  mpc_datap ptr;
13 
14 dcl 1 mpc_data aligned based (mpc_datap),
15     2 type char (4),                                        /* Type of mpc: tape, disk, or urc */
16     2 name char (32),                                       /* Name of device, suitable for headings */
17     2 model fixed bin,                                      /* Model of device, from rcp_ */
18     2 fw_rev char (2),                                      /* Revision level of current firmware */
19     2 trace_start fixed bin,                                /* Address of first trace table entry */
20     2 trace_size fixed bin,                                 /* Total number of mpc words in trace table */
21     2 trace_cur fixed bin,                                  /* Address of next available trace entry */
22     2 mpc_stat_addr fixed bin,                              /* Address of mpc error counters */
23     2 mpc_err_int_ctr_addr fixed bin,                       /* Address of the err int ctr */
24     2 mpc_err_data_reg_addr fixed bin,                      /* Address of error data register */
25     2 dev_stat_addr fixed bin,                              /* Address of device statistics table */
26     2 config_sw bit (16),                                   /* Settings of switches on maintaince panel */
27     2 dau_rev bit (8);                                      /* Revision of DAU hardware */
28 
29 
30 /* structure of data collected on mpc statistics */
31 
32 dcl  mpc_stat_infop ptr;
33 
34 dcl 1 mpc_stat_info aligned based (mpc_stat_infop),
35     2 mpc_name char (4),
36     2 stat_counters (12) fixed bin,
37     2 error_data,
38       3 pad bit (8),
39       3 int_counter fixed bin (8) uns,
40       3 register bit (16),
41       3 auxar bit (16),
42       3 intar bit (16),
43     2 eurc_data,
44       3 uptime_clock fixed bin (32) uns,
45       3 prom_revision,
46         4 core bit (8),
47         4 iom bit (8),
48         4 special_controller bit (8),
49         4 link_edit bit (8),
50         4 pdsi_application bit (8),
51         4 self_test bit (8),
52         4 dai_application bit (8),
53     2 ndev fixed bin,
54     2 dev_info (64) like dev_stat_info;
55 
56 dcl  dev_stat_infop ptr;
57 
58 dcl 1 dev_stat_info aligned based (dev_stat_infop),
59     2 subsystem char (4),
60     2 model char (6),
61     2 driveno fixed bin,
62     2 opi bit (1),
63     2 port fixed bin,
64     2 ca fixed bin,
65     2 stat (16) fixed bin (16) uns;
66 
67 dcl  mpc_stat_analp ptr;
68 
69 dcl 1 mpc_stat_anal based (mpc_stat_analp),
70     2 num_interps fixed bin,
71     2 interpretation (16),
72       3 message char (43) var,
73       3 HINT char (21) var,
74     2 auxar bit (16),
75     2 intar bit (16),
76     2 err_ctr fixed bin,
77     2 mpc_stat_ctrs,
78       3 num_ctr_interps fixed bin,
79       3 interp_stat_ctrs (20) char (20) var,
80       3 stat_cntr_cnt (20) fixed bin;
81 
82 /* End include file ..... dump_mpc_data.incl.pl1 */