COMPILATION LISTING OF SEGMENT alloc_cb_file Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/04/82 1730.9 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 alloc_cb_file: 12 proc (size, cb_ptr); 13 if system_areap = null /* first call this process */ 14 then system_areap = get_system_free_area_ (); 15 allocate cb in (free_area) set (cb_ptr); 16 return; 17 18 free_cb_file: 19 entry (size, cb_ptr); 20 free cb_ptr -> cb in (free_area); 21 return; 22 23 dcl size fixed; 24 dcl null builtin; 25 dcl cb_ptr ptr; /* points to the control block to created or freed */ 26 dcl get_system_free_area_ entry () returns (ptr); 27 dcl free_area area based (system_areap); 28 dcl system_areap ptr static init (null); 29 dcl 1 cb based (cb_ptr), 30 2 cb_words (size) fixed; 31 end alloc_cb_file; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/04/82 1620.6 alloc_cb_file.pl1 >dumps>old>recomp>alloc_cb_file.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. cb based structure level 1 unaligned dcl 29 ref 15 20 cb_ptr parameter pointer dcl 25 set ref 11 15* 18 20 free_area based area(1024) dcl 27 ref 15 20 get_system_free_area_ 000012 constant entry external dcl 26 ref 13 null builtin function dcl 24 ref 13 size parameter fixed bin(17,0) dcl 23 ref 11 15 18 20 system_areap 000010 internal static pointer initial dcl 28 set ref 13 13* 15 20 NAMES DECLARED BY EXPLICIT CONTEXT. alloc_cb_file 000010 constant entry external dcl 11 free_cb_file 000042 constant entry external dcl 18 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 120 134 53 130 Length 300 53 14 130 45 2 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME alloc_cb_file 68 external procedure is an external procedure. STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 system_areap alloc_cb_file THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return ext_entry alloc_based free_based THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. get_system_free_area_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 11 000004 13 000015 15 000027 16 000037 18 000040 20 000047 21 000052 ----------------------------------------------------------- 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