COMPILATION LISTING OF SEGMENT dm_process_shutdown_spec Compiled by: Multics PL/I Compiler, Release 28e, of February 14, 1985 Compiled at: Honeywell Multics Op. - System M Compiled on: 03/05/85 0901.5 mst Tue Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1984 * 4* * * 5* *********************************************************** */ 6 7 /* DESCRIPTION: 8* 9* This routine takes a shutdown_spec, pointed to by 10* p_shutdown_spec_ptr, and processes it to determine a complete set of 11* shutdown info, returning the info in the caller-supplied shutdown_info 12* structure pointed to by p_shutdown_info_ptr. Shutdown info consists of a 13* reason for shutdown, which is copied directly from the shutdown_spec, and 14* a set of times - one time for each of the five events which comprise DM 15* shutdown. The times are determined as follows: 16* 17* 1) Any time in shutdown_spec.times which is not equal to 0 is copied to 18* shutdown_info.times. These times are referred to as "specified times". 19* 20* 2) If no times are specified (i.e., all times in shutdown_spec.times are 21* equal to 0) then shutdown_info.times.user_bump_time is set to the current 22* Multics scheduled down time. If there is no Multics down time scheduled, 23* set shutdown_info.output_flags.no_time_specified to "1"b and return. 24* 25* 3) Starting with the begin_shutdown_time and proceeding through the 26* daemon_logout_time, for each shutdown_info.times cell which is not yet 27* set (i.e., shutdown_info.times.