/* BEGIN dn355_mailbox.incl.pl1 */ /* Date Last Modified and Reason Created 07/25/74 by R. B. Snyder for new ttydim. Modified 08/20/75 by Mike Grady to prepare for multiple 355's Modified 11/08/78 by Robert Coren to introduce FNP-controlled mailboxes Modified 02/19/80 by Robert Coren to specify format of accept_input mailbox Modified 04/23/80 by Robert Coren to replace lock with num_in_use Modified 09/21/82 by Robert Coren to make subfields of crash_data be fixed bin (18) unsigned */ dcl 1 datanet_mbx aligned based (mbxp), /* declaration of 355 mailbox */ 2 dia_pcw aligned, /* Peripheral Control Word for DIA */ 3 zero bit (18) unaligned, 3 error bit (1) unaligned, /* set to "1"b if error on connect */ 3 pad1 bit (5) unaligned, 3 mbx_no bit (6) unaligned, /* number of submbx being sent to 355 */ 3 command bit (6) unaligned, /* always 71 (octal) */ 2 mailbox_requests fixed bin, /* 0 mod 256K cnt of mbx requests by 355 */ 2 term_inpt_mpx_wd bit (36) aligned, /* terminate interrupt multiplex word */ 2 last_mbx_req_count fixed bin, /* previous value of mailbox_requests */ 2 num_in_use fixed bin, /* number of submailboxes currently in use */ 2 mbx_used_flags, /* one bit for each mailbox */ 3 used (0:7) bit (1) unaligned, /* "1"b means this mbx is being used */ 3 pad2 bit (28) unaligned, 2 crash_data, /* data for 355 emergency interrupt */ 3 fault_code fixed bin (18) unal unsigned, 3 ic fixed bin (18) unal unsigned, 3 iom_fault_status fixed bin (18) unal unsigned, 3 fault_word fixed bin (18) unal unsigned, /* contains either faulting instruction or iomchannel no */ 2 dn355_sub_mbxes (0:7) aligned, /* 8 CS-initiated submailboxes */ 3 pad4 (8) fixed bin, /* eight words each */ 2 fnp_sub_mbxes (0:3) aligned, /* 4 FNP-initiated mailboxes */ 3 pad5 (28) fixed bin; /* 28 words each */ dcl 1 sub_mbx aligned based (subp), /* declaration of a submailbox */ 2 dn355_no bit (3) unaligned, /* 355 number */ 2 pad1 bit (5) unaligned, 2 line_number unaligned, /* line number assigned by 355 */ 3 is_hsla bit (1) unaligned, /* on if hsla, off if lsla */ 3 la_no bit (3) unaligned, /* line adapter (high or low speed) number */ 3 slot_no bit (6) unaligned, /* physical slot/subchannel number */ 2 terminal_id bit (18) unaligned, /* not used */ 2 terminal_type bit (9) unaligned, /* unused */ 2 cmd_data_len fixed bin (8) unaligned, /* no. of 6 bit chars in command data */ 2 op_code fixed bin (8) unaligned, /* op code */ 2 io_cmd fixed bin (8) unaligned, /* i/o cmd */ 2 command_data (3) bit (36) unaligned, /* data associated with op code */ 2 address unal, /* dcw buffer or circular queue address */ 3 data_addr bit (18) unaligned, /* data address */ 3 word_cnt fixed bin (18) unsigned unaligned, /* data length */ 2 pad3 bit (72) unaligned; /* The structure below defines the long form of submailbox used by the FNP. Note that the declaration of command_data and input_data is that used for the input_in_mailbox operation; other FNP-initiated operations use the command_data format described by the above (short mailbox) structure */ dcl 1 fnp_sub_mbx aligned based (subp), /* format used for FNP-controlled mailbox */ 2 dn355_no bit (3) unaligned, /* as above */ 2 pad1 bit (5) unaligned, 2 line_number unaligned, /* as above */ 3 is_hsla bit (1) unaligned, 3 la_no bit (3) unaligned, 3 slot_no bit (6) unaligned, 2 n_free_buffers fixed bin (17) unaligned, /* number of free blocks in FNP at present */ 2 pad3 bit (9) unaligned, 2 n_chars fixed bin (9) unsigned unaligned, /* number of data characters (if input) */ 2 op_code fixed bin (9) unsigned unaligned, /* as above */ 2 io_cmd fixed bin (9) unsigned unaligned, /* as above */ 2 input_data char (100) unaligned, /* input characters for input_in_mailbox op */ 2 command_data bit (36) unaligned; /* shouldn't need more than one word */ /* The structure below defines the format of a long submailbox used for an accept_input operation when the data is too long to fit directly in the mailbox. command_data and n_chars occupy the same position as for input_in_mailbox, above. */ dcl 1 input_sub_mbx aligned based (subp), 2 pad1 bit (8) unaligned, 2 line_number unaligned like sub_mbx.line_number, 2 n_free_buffers fixed bin (17) unaligned, /* number of free blocks in FNP at present */ 2 n_chars fixed bin (17) unaligned, /* total number of data characters */ 2 op_code fixed bin (9) unsigned unaligned, 2 io_cmd fixed bin (9) unsigned unaligned, 2 n_buffers fixed bin, /* number of buffers in this input chain */ 2 dcw (24), /* "pseudo-DCWs" used to specify buffer addresses and tallies */ 3 abs_addr bit (24) unaligned, /* supplied by CS */ 3 tally fixed bin (12) unsigned unaligned, /* in characters, supplied by FNP */ 2 command_data bit (36) unaligned; /* as above */ dcl subp pointer; dcl mbxp pointer; /* END dn355_mailbox.incl.pl1 */ */ ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group Bull including Bull HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell Bull Inc., Groupe Bull and Bull HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, Bull or Bull HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by Bull HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved */