1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 dcl MCA_data_version_1 char (8) int static options
18 (constant) init ("MCA00001");
19
20 dcl mca_data_seg_ptr ptr static init (null ());
21
22 dcl mcad_ptr ptr;
23
24 dcl ipcd_ptr ptr;
25
26 dcl 1 mca_data_seg based (mca_data_seg_ptr),
27 2 version char (8),
28 2 array (1:4) like mcad;
29
30
31 dcl 1 mcad based (mcad_ptr) aligned,
32 2 lock bit (36),
33 2 state fixed bin,
34 2 attach_time fixed bin (71),
35 2 attach_pid bit (36),
36 2 name char (1),
37 2 imu_number fixed bin (17),
38 2 ioi_idx fixed bin,
39 2 event_chn fixed bin (71),
40 2 ioi_wks_ptr ptr,
41 2 max_ws_size fixed bin (19),
42 2 pad fixed bin,
43 2 user_ptr ptr,
44 2 return_data_ptr ptr,
45 2 io_param_ptr ptr,
46 2 entry_to_return_data entry (ptr, fixed bin (21), fixed bin (35)),
47
48 2 status_offset fixed bin,
49 2 current_ws_size fixed bin (18),
50 2 rcp_id bit (36),
51 2 flags unaligned,
52 3 async_io bit (1),
53
54 3 config_data_requested bit (1),
55 3 pad bit (34),
56 2 max_time_out fixed bin (71),
57 2 last_status bit (71),
58
59 2 ipcd_array (0:15) like ipcd aligned;
60
61 dcl 1 ipcd based (ipcd_ptr) aligned,
62 2 ipc_name char (8),
63 2 channel fixed bin (17) unaligned,
64 2 nchan fixed bin (17) unaligned,
65 2 type_info,
66 3 no_level_2_info bit (1) unaligned,
67 3 is_micro_cont bit (1) unaligned,
68 3 fbus_disable_latch bit (1) unaligned,
69 3 pad bit (6) unaligned,
70 3 type_index fixed bin (8) unaligned,
71 2 state fixed bin (17) unaligned,
72 2 level_1_state fixed bin (17),
73 2 prph_attachments fixed bin (17),
74 2 attach_data (8),
75 3 prph_name char (4),
76 3 flags unaligned,
77 4 attached_thru_rcp bit (1),
78 4 io_suspended bit (1),
79 4 pad (34) bit (1),
80 3 attach_time fixed bin (71),
81 3 ipc_rcp_id bit (36),
82 3 ipc_ioi_idx fixed bin;
83
84 dcl SYSTEM_DIR char (17) init (">system_library_1") static options (constant);
85 dcl DATA_SEG char (12) init ("mca_data_seg") static options (constant);
86
87
88 dcl (MCA_NOT_CONFIGURED init (0),
89 MCA_FREE init (1),
90 MCA_ATTACHING init (2),
91 MCA_ATTACHED init (3),
92 MAINT_SESSION init (10)) fixed bin internal static options (constant);
93
94 dcl (IPC_NOT_CONFIGURED init (0),
95 IPC_FREE init (1),
96 IPC_ATTACHED init (2)) fixed bin internal static options (constant);
97
98