COMPILATION LISTING OF SEGMENT expand_voldamage_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.8 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1984 * 4* * * 5* *********************************************************** */ 6 expand_voldamage_msg_: 7 procedure (); 8 9 /* * EXPAND_SEGDAMAGE_MSG_ 10* * 11* * Expander for segment damage messages logged by page control and salvagers. 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 binary_segmsg_util_$interpret_pvname entry (pointer) returns (char (32)); 23 24 declare (addr, dimension, length, rtrim, size, string, unspec) builtin; 25 26 /* */ 27 28 expand_voldamage_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 P_expansion = P_expansion || "Volume: "; 34 P_expansion = P_expansion || rtrim (binary_segmsg_util_$interpret_pvname (addr (log_message.data (1)))); 35 P_expansion = P_expansion || byte (10); 36 37 return; 38 39 40 41 /* This is a compatibility entrypoint-- it processes an old-format "syserr" class 42* message, which has the syserr binary code in the first word of the data. */ 43 44 expand_voldamage_msg_$syserr: 45 entry (P_log_message_format_ptr, P_log_message_ptr, P_expand_mode_ptr, P_expansion, P_code); 46 47 log_message_ptr = P_log_message_ptr; 48 49 P_expansion = P_expansion || "Volume: "; 50 P_expansion = P_expansion || rtrim (binary_segmsg_util_$interpret_pvname (addr (log_message.data (2)))); 51 P_expansion = P_expansion || byte (10); 52 53 return; 54 55 /* 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 */ 55 56 57 end expand_voldamage_msg_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 01/17/85 0834.6 expand_voldamage_msg_.pl1 >special_ldd>online>41-4>expand_voldamage_msg_.pl1 55 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 44 P_expand_mode_ptr parameter pointer dcl 18 ref 28 44 P_expansion parameter varying char dcl 19 set ref 28 33* 33 34* 34 35* 35 44 49* 49 50* 50 51* 51 P_log_message_format_ptr parameter pointer dcl 16 ref 28 44 P_log_message_ptr parameter pointer dcl 17 ref 28 31 44 47 addr builtin function dcl 24 ref 34 34 50 50 binary_segmsg_util_$interpret_pvname 000010 constant entry external dcl 22 ref 34 50 data based bit(36) array level 2 dcl 1-13 set ref 34 34 50 50 data_class_lth 2(09) based fixed bin(9,0) level 3 packed unsigned unaligned dcl 1-13 ref 34 34 50 50 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* 34 34 47* 50 50 rtrim builtin function dcl 24 ref 34 50 text_lth 4 based fixed bin(17,0) level 3 packed unaligned dcl 1-13 ref 34 34 50 50 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 size builtin function dcl 24 string builtin function dcl 24 unspec builtin function dcl 24 NAMES DECLARED BY EXPLICIT CONTEXT. expand_voldamage_msg_ 000007 constant entry external dcl 6 expand_voldamage_msg_$format 000022 constant entry external dcl 28 expand_voldamage_msg_$syserr 000143 constant entry external dcl 44 NAME DECLARED BY CONTEXT OR IMPLICATION. byte builtin function ref 35 51 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 370 402 263 400 Length 600 263 12 162 104 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME expand_voldamage_msg_ 84 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME expand_voldamage_msg_ 000100 log_message_ptr expand_voldamage_msg_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return ext_entry ext_entry_desc THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. binary_segmsg_util_$interpret_pvname NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 6 000006 28 000014 31 000035 33 000041 34 000054 35 000126 37 000140 44 000141 47 000156 49 000162 50 000175 51 000250 53 000262 ----------------------------------------------------------- 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