/* BEGIN INCLUDE FILE: dm_bj_txt.incl.pl1 */ /* dm_bj_txt - before journal per-system transaction table. Designed by A. Bensoussan Written by M. Pandolf 06/02/82 Modified: 10/01/82 by Lee A. Newcomb: To use dm_system_data_ for dimension attributes and specify alignment on level one. 08feb83 by M. Pandolf: To restructure the TXT and TXTE. 30mar83 by M. Pandolf: To add last_completed_operation and ok_to_write. */ /* format: style4,indattr,idind33,^indcomtxt */ dcl BJ_TXT_VERSION_1 fixed bin int static options (constant) init (1); dcl bj_txt_ptr ptr; /* pointer to transaction table */ dcl bj_txte_ptr ptr; /* pointer to transaction table element */ dcl 1 bj_txt aligned based (bj_txt_ptr), /* transaction table */ 2 version fixed bin, /* should be BJ_TXT_VERSION_1 */ 2 max_n_entries fixed bin, 2 n_entries_used fixed bin, /* assumed contiguous */ 2 pad_header_to_32_words bit (36) dim (29), /* to mod32 align bj_txt.entry */ 2 entry dim (dm_system_data_$max_n_transactions refer (bj_txt.max_n_entries)) like bj_txte; dcl 1 bj_txte based (bj_txte_ptr) aligned, /* single entry, must be mod32 word aligned */ 2 tid bit (36), /* transaction id if this or last txn */ 2 bj_uid bit (36), /* UID of before journal chosen at begin mark */ 2 entry_state aligned, 3 last_completed_operation char (4), /* to prevent multiple abort and commit */ 3 ok_to_write bit (1), /* basically validates using this entry */ 2 owner_info aligned, /* info about creation of txte */ 3 process_id bit (36), /* of process that wrote begin mark */ 2 operator_info aligned, /* of process that is currently using this txte */ 3 process_id bit (36), /* of process that shall write subsequent marks */ 3 ppte_ptr ptr, /* pointer to PPTE for this transaction */ 3 bj_oid bit (36), /* before journal opening ID for operator */ 2 records_info aligned, /* grouped to be saved and restored as one unit */ 3 curr_checkpoint_rec_id bit (36), /* ident of checkpoint record if doing a rollback, */ /* else, this value must be zero. */ 3 first_bj_rec_id bit (36), /* ident of first mark for this transaction */ 3 last_bj_rec_id bit (36), /* ident of current mark for this transaction */ 3 n_rec_written fixed bin (35), /* count of marks written for this transaction */ 3 n_bytes_written fixed bin (35), /* count of total bytes written to journal */ 3 last_fm_postcommit_handler_rec_id bit (36), /* ident of last special handler in list */ 2 append_state aligned, /* the first two members define the state of this */ 3 current_operation char (4), /* transaction and its interaction with bj_storage: */ 3 pending_bj_rec_id bit (36), /* operation rec_id state */ /* *null* XXX quiesed */ /* ^null "0"b write pending */ /* ^null ^"0"b write completed, needs flushing */ /* */ 3 pending_n_rec_written fixed bin (35), /* copy to n_rec_written before flush */ 3 pending_n_bytes_written fixed bin (35), /* copy to n_bytes_written before flush */ 2 pad_entry_to_32_words bit (36) dim (13); /* make any part of table 32 words long */ /* END INCLUDE FILE: dm_bj_txt_ptr */ */ ----------------------------------------------------------- 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 */