/* Begin include file ...... iom_data.incl.pl1 First written in August 1971 by R F Mabee. Modified for paged IOM November 1980 by C. Hornig. More IIOC changes by C. Hornig, June 1982. Modified for channel reconfiguration by Chris Jones, January 1984. Modified to remove support of non-paged IOMs by Chris Jones, August 1984. Modified to add IMW read protocol flags by M. Pandolf, January 1985. */ /* format: style4,delnl,insnl,indattr,ifthen,dclind10 */ dcl iom_data$ external; dcl iom_mailbox$ external; dcl n_devices fixed bin; dcl iom_data_ptr ptr; dcl 1 iom_data based (iom_data_ptr) aligned, 2 n_devices fixed bin, /* (0) Maximum number of channels. */ 2 stop_lpw bit (36), /* (1) LPW pointing to stop_dcw. */ 2 stop_dcw bit (36), /* (2) DCW to stop channel, probably storing bad status. */ 2 stop_scw bit (36), /* (3) SCW for same */ 2 imw_lock fixed bin (35), /* (4) Essentially a lock for iom switch checking: */ /* 1 : OK to poll IMW */ /* 0 : lock in transition */ /* -1 : DONT poll IMW */ 2 n_intr_procs fixed bin (35), /* (5) Number of processors in interrupt handler */ 2 pad1 (2) bit (36), 2 stop_status bit (72), /* (10) All unused channels store status here. */ 2 rfh1 (6) bit (36), /* can't use this */ 2 stop_ext_status bit (8 * 36), /* (20) Unused channels' extended status */ 2 pad3 (5) bit (36), 2 invalid_interrupts fixed bin (35), /* (35) interrupts on unused channels */ 2 null_interrupts fixed bin (35), /* (36) spurious interrupts */ 2 multiple_interrupts fixed bin (35), /* (37) several interrupts at a time */ 2 per_iom (4) like per_iom, /* (40) for each IOM */ 2 per_device (n_devices refer (iom_data.n_devices)) like per_device; /* (240) Data for assigned channels. */ dcl 1 per_iom aligned based, 2 lock bit (36), /* (40) connect mailbox lock */ 2 flags, /* (41) */ 3 configured bit (1) unal, /* is configured */ 3 on_line bit (1) unal, /* is ON */ 3 pad1 bit (34) unal, 2 model char (4), /* (42) what kind of IOM */ 2 port fixed bin (3), /* (43) SC port */ 2 connect_time fixed bin (71), /* (44) time of last connect */ 2 connect_lpw bit (36), /* (46) LPW for connect channel */ 2 cow bit (36), /* (47) Connect Operand Word */ 2 special_chx fixed bin (35), /* (50) chx of special status channel */ 2 fault_chx fixed bin (35), /* (51) chx of system fault channel */ 2 pad2 (4) bit (36), 2 abandoned_connects fixed bin (35), /* (56) times we couldn't get IOM to listen at all */ 2 reconnects fixed bin (35), /* (57) times a connect was lost */ 2 chantab (0:63) uns fixed bin (9) unal; /* (60) packed devtab indices */ dcl 1 per_device aligned based, 2 status bit (72), /* (0) Status for channel is stored here. */ 2 rfh1 (6) bit (36), 2 ext_status bit (8 * 36), /* (10) extended status stored by IIOC */ 2 iom uns fixed bin (3), /* (20) IOM# (1-4) */ 2 channel uns fixed bin (6), /* (21) channel # */ 2 handler entry (fixed bin (35), fixed bin (3), bit (36) aligned), /* (22) Interrupt handler for device. */ 2 flags, /* (26) */ 3 in_use bit (1) unal, /* assigned */ 3 queue_status bit (1) unal, /* maintain status queue */ 3 on_line bit (1) unal, /* can be assigned */ 2 index fixed bin (35), /* (27) Channel identification index. */ 2 pcw bit (72), /* (30) Peripheral Control Word */ 2 lpw bit (72), /* (32) List Pointer Word */ 2 scw bit (36), /* (34) Status Control Word */ 2 pad1 fixed bin (35), 2 status_queue_ptr ptr, /* (36) Status queue */ 2 connect_time fixed bin (71), /* (40) time of last connect */ 2 connects fixed bin (71), /* (42) Total connects */ 2 interrupts fixed bin (71), /* (44) Total number of interrupts for this channel. */ 2 interrupt_time fixed bin (71); /* (46) Total interrupt time for this channel. */ dcl iom_mailbox_seg_ptr ptr; dcl 1 iom_mailbox_seg aligned based (iom_mailbox_seg_ptr), 2 imw_array (0:31) bit (32), /* Indexed by interrupt cell number. One bit for each channel. */ 2 system_fault (4) aligned like status_queue, /* system faults store here (12 words/IOM) */ 2 special_status (4) aligned like status_queue, /* special status words here (12 words/IOM) */ 2 iom_mailbox (4) like iom_mailbox; /* Used to communicate with the IOM. */ dcl status_queue_ptr ptr; dcl 1 status_queue aligned based (status_queue_ptr), 2 status (12) bit (36); dcl 1 iom_mailbox aligned based, 2 channel_mailbox (0:63) like channel_mailbox; dcl 1 channel_mailbox aligned based, 2 lpw bit (72), /* List pointer word. Points to DCW list. */ 2 scw bit (36), /* Status control word. Points to channel_table.status. */ 2 dcw bit (36); /* Data control word. Primarily scratch space for IOM. */ /* Defined channel numbers. */ dcl ( system_fault_channel init (1), /* Stores system fault words using LPW and DCW. */ connect_channel init (2), /* Starts other channels using LPW pointing to PCW. */ special_status_channel init (6) /* Stores special status using LPW and DCW. */ ) fixed bin (6) static options (constant); /* End of include file ..... iom_data.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 */