1
2
3
4
5
6
7
8
9 dcl dumpptr ptr;
10
11 dcl 1 dump based (dumpptr) aligned,
12 2 dump_header aligned like dump_header,
13
14 2 segs (1008),
15 3 segno bit (18) unal,
16 3 length bit (18) unal,
17
18 2 amptwregs (0 : 63) bit (36),
19 2 amptwptrs (0 : 63) bit (36),
20 2 amsdwregs (0 : 63) bit (72),
21 2 amsdwptrs (0 : 63) bit (36),
22
23 2 ouhist (0 : 63) bit (72),
24 2 cuhist (0 : 63) bit (72),
25 2 duhist (0 : 63) bit (72),
26 2 auhist (0 : 63) bit (72),
27
28 2 prs (0 : 7) ptr,
29
30 2 regs aligned like dump_registers,
31
32 2 low_order_port bit (3),
33 2 pad4 bit (36),
34 2 mctime fixed bin (52),
35 2 pad5 (0 : 3) bit (36),
36
37 2 misc_registers like dump_misc_registers,
38
39 2 ptrlen (0 : 7) bit (36),
40
41 2 coreblocks (0 : 7),
42 3 num_first bit (18) unal,
43 3 num_blocks bit (18) unal,
44 2 pad7 (112) fixed bin;
45
46
47 dcl 1 dump_header aligned based,
48 2 words_dumped fixed bin (35),
49 2 valid bit (1),
50 2 time fixed bin (71),
51 2 erfno fixed bin (18),
52 2 num_segs fixed bin,
53 2 valid_355 bit (1),
54 2 dumped_355s bit (4),
55 2 time_355 fixed bin (71),
56 2 version fixed bin,
57 2 pad0 (5) fixed bin;
58
59 dcl 1 dump_registers aligned based,
60 (2 x (0 : 7) bit (18),
61 2 a bit (36),
62 2 q bit (36),
63 2 e bit (8),
64 2 pad2 bit (28),
65 2 t bit (27),
66 2 pad3 bit (6),
67 2 ralr bit (3)) unaligned;
68
69 dcl 1 dump_misc_registers aligned based,
70 2 scu (0 : 7) bit (36),
71 2 mcm (0 : 7) bit (72),
72 2 dbr bit (72),
73 2 intrpts bit (36),
74 2 bar bit (36),
75 2 modereg bit (36),
76 2 cmodereg bit (36),
77 2 faultreg bit (36),
78 2 ext_fault_reg bit (15) unaligned,
79 2 pad6 bit (21) unaligned;
80
81
82
83 dcl 1 v1_dump aligned based (dumpptr),
84 2 dump_header aligned like dump_header,
85
86 2 segs (688),
87 3 segno bit (18) unal,
88 3 length bit (18) unal,
89
90 2 amsdwregs (0 : 15) bit (72),
91 2 amsdwptrs (0 : 15) bit (36),
92 2 amptwregs (0 : 15) bit (36),
93 2 amptwptrs (0 : 15) bit (36),
94 2 pad1 (0 : 15) bit (36),
95
96 2 ouhist (0 : 15) bit (72),
97 2 cuhist (0 : 15) bit (72),
98 2 auhist (0 : 15) bit (72),
99 2 duhist (0 : 15) bit (72),
100
101 2 prs (0 : 7) ptr,
102
103 2 regs aligned like dump_registers,
104
105 2 mctime fixed bin (52),
106 2 pad4 (0 : 5) bit (36),
107
108 2 misc_registers aligned like dump_misc_registers,
109
110 2 pad5 bit (36),
111 2 ptrlen (0 : 7) bit (36),
112 2 pad6 (15) bit (36),
113 2 low_order_port bit (3),
114
115 2 coreblocks (0 : 7),
116 3 num_first bit (18) unal,
117 3 num_blocks bit (18) unal;
118
119
120 dcl DUMP_VERSION_1 fixed bin internal static options (constant) init (1);
121 dcl DUMP_VERSION_2 fixed bin internal static options (constant) init (2);
122
123