1 " ***********************************************************
  2 " *                                                         *
  3 " * Copyright, (C) Honeywell Information Systems Inc., 1983 *
  4 " *                                                         *
  5 " ***********************************************************
  6 "
  7 " DESCRIPTION:
  8 "
  9 "          This is the administrative gate for the data management system
 10 "     (DMS).  Any manager specific entries will have the initials of the
 11 "     manager prefixed to the entry's name (e.g., "lm_" for lock_manager_
 12 "     entries). General DM inner ring calls will begin with "dm_".
 13 "
 14 "          No part one DMS initialization procedure should go through this
 15 "     (or any other) gate.  The main transfer vector for a manager should
 16 "     directly call the initialization routine as the call MUST come from the
 17 "     DM ring of execution.
 18 "
 19 " HISTORY:
 20 " Written by M. Pandolf, 06/08/83.
 21 " Modified:
 22 " 08/17/83 by M. Pandolf:  to add set_journal_stamps.
 23 " 01/03/84 by Lee A. Newcomb:  added lm_copy_data, lm_system_segment_count,
 24 "             and lm_reset_system_meters.
 25 " 07/06/84 by Lindsey Spratt:  Added bjm_get_bj_path_from_uid.
 26 " 09/17/84 by Matthew Pierret: Added schedule_shutdown.
 27 " 09/27/84 by Lindsey Spratt:  Added dm_copy_log.
 28 " 10/02/84 by Lee A. Newcomb:  Moved $dm_set_aim_dir to here from
 29 "             dm_daemon_gate_ and added $dm_create_aim_control_seg.
 30 " 11/12/84 by Lindsey Spratt:  Renamed set_journal_stamps entry to
 31 "             dm_set_journal_stamps.
 32 " 11/22/84 by Lee A. Newcomb:  Removed the obsolete dm_set_aim_dir and
 33 "             dm_create_aim_control_seg entries.
 34 " 11/27/84 by Stanford S. Cox: Chg send* to xfer thru dm_firstref_tv_,
 35 "             chg send* to dm_send_= chg *inner_ring_tv_ to =firstref_tv_.
 36 " 12/07/84 by Lindsey Spratt:  Changed dm_set_journal_stamps to tra to
 37 "             dm_no_firstref_tv_ instead of dm_firstref_tv_.
 38 " 12/18/84 by Steve Herbst: Added entry points dlr_open, etc. for log reading.
 39 " 01/16/84 by R. Michael Tague: Removed obsolete dm_send_* entries and added
 40 "             dm_send_new_process_notifies and dm_send_kill_txn.
 41 " 02/19/85 by Steve Herbst: Fixed arg counts for dlr_open and dlr_hold_message.
 42 " 03/25/85 by S. Cox:  Added lm_copy_fast_data.
 43 "
 44 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 45 
 46           name      dm_admin_gate_
 47 
 48           include   gate_macros
 49 
 50           gate_info
 51 
 52 " Before Journal entries:
 53 
 54           gate      bjm_get_bj_path_from_uid,bjm_firstref_tv_,get_bj_path_from_uid,4
 55 
 56 " Log-reading entries, corresponding to those in log_read_:
 57 
 58           gate      dlr_close,dm_no_firstref_tv_,dlr_close,2
 59 
 60           gate      dlr_deregister,dm_no_firstref_tv_,dlr_deregister,4
 61 
 62           gate      dlr_free_message,dm_no_firstref_tv_,dlr_free_message,2
 63 
 64           gate      dlr_get_log_uid,dm_no_firstref_tv_,dlr_get_log_uid,3
 65 
 66           gate      dlr_hold_message,dm_no_firstref_tv_,dlr_hold_message,2
 67 
 68           gate      dlr_next_message,dm_no_firstref_tv_,dlr_next_message,3
 69 
 70           gate      dlr_open,dm_no_firstref_tv_,dlr_open,5
 71 
 72           gate      dlr_position_sequence,dm_no_firstref_tv_,dlr_position_sequence,5
 73 
 74           gate      dlr_position_time,dm_no_firstref_tv_,dlr_position_time,5
 75 
 76           gate      dlr_prev_message,dm_no_firstref_tv_,dlr_prev_message,3
 77 
 78           gate      dlr_register,dm_no_firstref_tv_,dlr_register,4
 79 
 80           gate      dlr_update,dm_no_firstref_tv_,dlr_update,4
 81 
 82 " General DM entries:
 83 
 84           gate      dm_copy_log,dm_no_firstref_tv_,copy_log,3
 85 
 86           gate      dm_schedule_shutdown,dm_firstref_tv_,schedule_shutdown,2
 87 
 88           gate      dm_send_adjust_process_id,dm_firstref_tv_,send_adjust_process_id,2
 89 
 90           gate      dm_send_adjust_tdt,dm_firstref_tv_,send_adjust_tdt,1
 91 
 92           gate      dm_send_adjust_tdt_entry,dm_firstref_tv_,send_adjust_tdt_entry,3
 93 
 94           gate      dm_send_adjust_txn,dm_firstref_tv_,send_adjust_txn,3
 95 
 96           gate      dm_send_kill_txn,dm_firstref_tv_,send_kill_txn,2
 97 
 98           gate      dm_send_new_proc,dm_firstref_tv_,send_new_proc,1
 99 
100           gate      dm_send_new_process_notifies,dm_firstref_tv_,send_new_process_notifies,1
101 
102           gate      dm_send_shutdown,dm_firstref_tv_,send_shutdown,1
103 
104           gate      dm_set_journal_stamps,dm_no_firstref_tv_,set_journal_stamps,2
105 
106 " Lock Manager entries:
107 
108           gate      lm_copy_data,lm_firstref_tv_,copy_data,2
109 
110           gate      lm_copy_fast_data,lm_firstref_tv_,copy_fast_data,3
111 
112           gate      lm_reset_system_meters,lm_firstref_tv_,reset_system_meters,0
113 
114           gate      lm_system_segment_count,lm_firstref_tv_,system_segment_count,2
115 
116 
117           end