COMPILATION LISTING OF SEGMENT expand_mos_msg_ Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell Multics Op. - System M Compiled on: 01/17/85 0836.5 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1984 * 4* * * 5* *********************************************************** */ 6 expand_mos_msg_: 7 procedure (); 8 9 /* * EXPAND_MOS_MSG_ 10* * 11* * Expander for MOS EDAC messages logged by mos_memory_check. 12* * 13* * 84-12-05, W. Olin Sibert: Initial coding, after print_syserr_msg_ 14* */ 15 16 declare P_log_message_format_ptr pointer parameter; 17 declare P_log_message_ptr pointer parameter; 18 declare P_expand_mode_ptr pointer parameter; 19 declare P_expansion char (*) varying parameter; 20 declare P_code fixed bin (35) parameter; 21 22 declare edit_mos_rscr_ entry (pointer, char (*) varying); 23 24 declare (addr, dimension, length, rtrim, size, string, unspec) builtin; 25 26 /* */ 27 28 expand_mos_msg_$format: 29 entry (P_log_message_format_ptr, P_log_message_ptr, P_expand_mode_ptr, P_expansion, P_code); 30 31 log_message_ptr = P_log_message_ptr; 32 33 call edit_mos_rscr_ (addr (log_message.data (1)), P_expansion); 34 35 return; 36 37 38 39 /* This is a compatibility entrypoint-- it processes an old-format "syserr" class 40* message, which has the syserr binary code in the first word of the data. */ 41 42 expand_mos_msg_$syserr: 43 entry (P_log_message_format_ptr, P_log_message_ptr, P_expand_mode_ptr, P_expansion, P_code); 44 45 log_message_ptr = P_log_message_ptr; 46 47 call edit_mos_rscr_ (addr (log_message.data (2)), P_expansion); 48 49 return; 50 51 /* BEGIN INCLUDE FILE ... log_message.incl.pl1 ... 84-04-25 ... W. Olin Sibert */ 1 2 1 3 declare 1 log_message_header aligned based, /* Items marked "(SET)" are set by $create_message */ 1 4 2 sentinel bit (36) aligned, /* Proper value declared in log_segment.incl.pl1 */ 1 5 2 sequence fixed bin (35), /* Sequence number for this message (SET) */ 1 6 2 severity fixed bin (8) unaligned, /* Severity of message */ 1 7 2 data_class_lth fixed bin (9) unaligned unsigned, /* Length of data class-- 0 to 16 (SET) */ 1 8 2 time fixed bin (53) unaligned, /* Time message originated */ 1 9 2 text_lth fixed bin (17) unaligned, /* Length of message text. Must be nonzero (SET) */ 1 10 2 data_lth fixed bin (17) unaligned, /* Length of binary data. May be zero (SET) */ 1 11 2 process_id bit (36) aligned; /* Process id of process writing message */ 1 12 1 13 declare 1 log_message aligned based (log_message_ptr), 1 14 2 header aligned like log_message_header, 1 15 2 text char (log_message_text_lth refer (log_message.text_lth)) unaligned, 1 16 2 data_class char (log_message_data_class_lth refer (log_message.data_class_lth)) unaligned, 1 17 2 data dim (log_message_data_lth refer (log_message.data_lth)) bit (36) aligned; 1 18 1 19 declare log_message_ptr pointer; 1 20 declare log_message_text_lth fixed bin; 1 21 declare log_message_data_class_lth fixed bin; 1 22 declare log_message_data_lth fixed bin; 1 23 1 24 /* END INCLUDE FILE ... log_message.incl.pl1 */ 51 52 53 end expand_mos_msg_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 01/17/85 0834.6 expand_mos_msg_.pl1 >special_ldd>online>41-4>expand_mos_msg_.pl1 51 1 01/10/85 1340.2 log_message.incl.pl1 >special_ldd>online>41-4>log_message.incl.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. P_code parameter fixed bin(35,0) dcl 20 ref 28 42 P_expand_mode_ptr parameter pointer dcl 18 ref 28 42 P_expansion parameter varying char dcl 19 set ref 28 33* 42 47* P_log_message_format_ptr parameter pointer dcl 16 ref 28 42 P_log_message_ptr parameter pointer dcl 17 ref 28 31 42 45 addr builtin function dcl 24 ref 33 33 47 47 data based bit(36) array level 2 dcl 1-13 set ref 33 33 47 47 data_class_lth 2(09) based fixed bin(9,0) level 3 packed unsigned unaligned dcl 1-13 ref 33 33 47 47 edit_mos_rscr_ 000010 constant entry external dcl 22 ref 33 47 header based structure level 2 dcl 1-13 log_message based structure level 1 dcl 1-13 log_message_header based structure level 1 dcl 1-3 log_message_ptr 000100 automatic pointer dcl 1-19 set ref 31* 33 33 45* 47 47 text_lth 4 based fixed bin(17,0) level 3 packed unaligned dcl 1-13 ref 33 33 47 47 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. dimension builtin function dcl 24 length builtin function dcl 24 log_message_data_class_lth automatic fixed bin(17,0) dcl 1-21 log_message_data_lth automatic fixed bin(17,0) dcl 1-22 log_message_text_lth automatic fixed bin(17,0) dcl 1-20 rtrim builtin function dcl 24 size builtin function dcl 24 string builtin function dcl 24 unspec builtin function dcl 24 NAMES DECLARED BY EXPLICIT CONTEXT. expand_mos_msg_ 000004 constant entry external dcl 6 expand_mos_msg_$format 000017 constant entry external dcl 28 expand_mos_msg_$syserr 000072 constant entry external dcl 42 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 234 246 144 244 Length 440 144 12 155 70 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME expand_mos_msg_ 80 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME expand_mos_msg_ 000100 log_message_ptr expand_mos_msg_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out_desc return ext_entry ext_entry_desc THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. edit_mos_rscr_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 6 000003 28 000011 31 000032 33 000036 35 000067 42 000070 45 000105 47 000111 49 000143 ----------------------------------------------------------- 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