COMPILATION LISTING OF SEGMENT set_smic_pattern Compiled by: Multics PL/I Compiler, Release 32f, of October 9, 1989 Compiled at: Bull HN, Phoenix AZ, System-M Compiled on: 11/11/89 0949.6 mst Sat Options: optimize map 1 /****^ *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Bull Inc., 1987 * 4* * * 5* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 6* * * 7* *********************************************************** */ 8 /* SET_SMIC_PATTERN - Procedure to Create SMIC Patttern from Interrupt Cell Number. 9* coded 8/26/74 by Noel I. Morris */ 10 11 12 /* ****************************************************** 13* * * 14* * * 15* * Copyright (c) 1972 by Massachusetts Institute of * 16* * Technology and Honeywell Information Systems, Inc. * 17* * * 18* * * 19* ****************************************************** */ 20 21 22 set_smic_pattern: proc (cell) returns (bit (36) aligned); 23 24 dcl cell fixed bin (5); /* interrupt cell number */ 25 26 27 dcl smic_word bit (36) aligned; /* SMIC pattern */ 28 29 dcl (mod, substr) builtin; 30 31 32 /* */ 33 34 smic_word = "0"b; /* Clear pattern initially. */ 35 substr (smic_word, mod (cell, 16) + 1, 1) = "1"b; /* Turn on appropriate bit. */ 36 substr (smic_word, 36, 1) = (cell >= 16); /* Set low-order bit appropriately. */ 37 38 return (smic_word); /* Return completed pattern. */ 39 40 41 end set_smic_pattern; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/11/89 0807.4 set_smic_pattern.pl1 >spec>install>1112>set_smic_pattern.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. cell parameter fixed bin(5,0) dcl 24 ref 22 35 36 mod builtin function dcl 29 ref 35 smic_word 000100 automatic bit(36) dcl 27 set ref 34* 35* 36* 38 substr builtin function dcl 29 set ref 35* 36* NAME DECLARED BY EXPLICIT CONTEXT. set_smic_pattern 000006 constant entry external dcl 22 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 64 74 36 74 Length 236 36 10 125 26 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME set_smic_pattern 65 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME set_smic_pattern 000100 smic_word set_smic_pattern THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. r_ge_a return_mac mdfx1 ext_entry NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 22 000002 34 000013 35 000014 36 000023 38 000032 ----------------------------------------------------------- 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