1 " ***********************************************************
  2 " *                                                         *
  3 " * Copyright, (C) Honeywell Information Systems Inc., 1983 *
  4 " *                                                         *
  5 " ***********************************************************
  6 "
  7 " DESCRIPTION:
  8 "
  9 "          This is the data managment system's (DMS) privileged gate.  It
 10 "     is to give the DM Daemon and maintenance personnel access over what
 11 "     is normally needed to run DMS in a process.  Any entry that "belongs"
 12 "     to a particular DM manager is prefixed with that manager's initials
 13 "     (e.g., "fm_" for "file_manager_"). General DM inner ring calls will
 14 "     start with "dm_".
 15 "
 16 " HISTORY:
 17 "
 18 " Written by John Bongiovanni, 01/01/82.
 19 " Modified:
 20 " 03/05/83 by Jeffrey D. Ives:  removed Lock Manager entries.
 21 " 05/11/83 by M. Pandolf:  add set_log_dir and terminate_segno.
 22 " 05/23/83 by Lee A. Newcomb:  renamed to dm_daemon_gate_.
 23 " 06/09/83 by L. A. Newcomb:  code arg. removed from initialize_system.
 24 " 06/30/83 by L. A. Newcomb: removed set_log_dir entry, obsolete.
 25 " 07/25/83 by M. Pandolf: add cp for inner ring cu_$cp.
 26 " 10/13/83 by M. Pandolf: add find_log.
 27 " 01/03/84 by L. A. Newcomb:  added log_message and removed
 28 "             the obsolete entry terminate_segno.  Also added some entries
 29 "             from the per-manager gates that are privileged.
 30 " 03/22/84 by L. A. Newcomb:  add get_daemon_info entry.
 31 " 04/06/84 by R. Michael Tague:  add bjm_adjust_process_id, bjm_flush_all.
 32 " 04/19/84 by R. Michael Tague:  added bjm_get_bj_path_from_uid.
 33 " 05/21/84 by R. Michael Tague:  Moved $fm_adopt and
 34 "             $fm_open_by_uid_after_crash from dm_gate_.
 35 " 06/01/84 by Lee A. Newcomb:  fixed typo, dm_firstref_tv_ -> fm_inner...
 36 "             for $fm_open_by_uid_after_crash transfer.
 37 " 07/06/84 by Lindsey Spratt:  Moved bjm_get_bj_path_from_uid to
 38 "             dm_admin_gate_.
 39 " 07/31/84 by S. Herbst:  Added tm_dm_system_in_use entry point.
 40 " 08/02/84 by Lee A. Newcomb: added entries $get_daemon_logout_time,
 41 "             $get_user_bump_time, $set_shutdown_reason, and $set_system_state.
 42 " 08/08/84 by Lee A. Newcomb:  Added $tm_ips_wakeup entry.
 43 " 10/01/84 by Lee A. Newcomb:  Added $tm_ips_wakeup_all and
 44 "             $dm_set_shutdown_info, moved $set_system_dir to dm_gate_ and
 45 "             $set_aim_dir to dm_admim_gate_$dm_set_aim_dir, and
 46 "             deleted $start_shutdown.
 47 " 10/30/84 by Lee A. Newcomb:  Changed $dm_set_shutdown_info to transfer to
 48 "             dm_firstref_tv_$set_shutdown_info.
 49 " 11/28/84 by Stanford S. Cox: Added dm_ prefix to DM entries, Chg
 50 "             *inner_ring_tv_ to =firstref_tv_, chg dm* entries to xfer
 51 "             via *firstref_tv_.
 52 " 12/05/84 by R. Michael Tague: Took "_" off dm_firstref_tv_$get_daemon_info_.
 53 " 12/06/84 by R. Michael Tague: Added tm_$bump_all
 54 " 12/09/84 by Lindsey Spratt:  Changed $dm_find_log and $dm_log_message to
 55 "             transfer to dm_firstref_tv_ instead of dm_no_firstref_tv_.
 56 " 12/10/84 by Lindsey Spratt: Changed $dm_find_log back to transfer to
 57 "             dm_no_firstref_tv_.
 58 " 02/21/85 by Lee A. Newcomb:  Removed the obsolete $dm_cp and $dm_find_log.
 59 " 03/05/85 by Steve Herbst:  Changed $dm_log_message to transfer to
 60 "             dm_no_firstref_tv_ instead of dm_firstref_tv_ (see 12/09/84)
 61 "
 62 " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
 63 
 64           name      dm_daemon_gate_
 65 
 66           include   gate_macros
 67 
 68           gate_info
 69 
 70 " Before Journal Manager entries:
 71 
 72           gate      bjm_adjust_process_id,bjm_firstref_tv_,adjust_process_id,2
 73 
 74           gate      bjm_flush_all,bjm_firstref_tv_,flush_all,0
 75 
 76 " General DM entries:
 77 
 78           gate      dm_get_daemon_info,dm_firstref_tv_,get_daemon_info,1
 79 
 80           gate      dm_get_daemon_logout_time,dm_firstref_tv_,get_daemon_logout_time,1
 81 
 82           gate      dm_get_user_bump_time,dm_firstref_tv_,get_user_bump_time,1
 83 
 84           gate      dm_initialize_system,dm_no_firstref_tv_,initialize_system,1
 85 
 86           gate      dm_log_message,dm_no_firstref_tv_,log_message,1
 87 
 88           gate      dm_set_shutdown_info,dm_firstref_tv_,set_shutdown_info,1
 89 
 90           gate      dm_set_system_state,dm_no_firstref_tv_,set_system_state,1
 91 
 92 " File Manager entries:
 93 
 94           gate      fm_adopt,fm_firstref_tv_,adopt,3
 95 
 96           gate      fm_end_of_crash_recovery,fm_firstref_tv_,end_of_crash_recovery,1
 97 
 98           gate      fm_find_old_uid_pn_table,fm_firstref_tv_,find_old_uid_pn_table,2
 99 
100           gate      fm_open_by_uid_after_crash,fm_firstref_tv_,open_by_uid_after_crash,3
101 
102 " Transaction Manager entries:
103 
104           gate      tm_adjust_process_id,tm_firstref_tv_,adjust_process_id,2
105 
106           gate      tm_adjust_tdt_entry,tm_firstref_tv_,adjust_tdt_entry,3
107 
108           gate      tm_begins_off,tm_firstref_tv_,begins_off,0
109 
110           gate      tm_begins_on,tm_firstref_tv_,begins_on,0
111 
112           gate      tm_bump_all,tm_firstref_tv_,bump_all,0
113 
114           gate      tm_dm_system_in_use,tm_firstref_tv_,dm_system_in_use,1
115 
116           gate      tm_ips_wakeup,tm_firstref_tv_,ips_wakeup,2
117 
118           gate      tm_ips_wakeup_all,tm_firstref_tv_,ips_wakeup_all,2
119 
120           gate      tm_kill_txn,tm_firstref_tv_,kill_txn,2
121 
122           gate      tm_recover_after_crash,tm_firstref_tv_,recover_after_crash,3
123 
124 
125           end