1 /* BEGIN INCLUDE FILE . . . daemon_save_seg.incl.pl1 */ 2 3 /* Format of entries in segment used for saving io daemon's current 4 * request. Daemon can search for a free slot. Requests are saved 5 * here in case of system crashes. 6 */ 7 8 dcl daemon_save_ptr ptr; 9 10 dcl daemon_save_ent_len fixed bin int static init(24); /* length in words */ 11 /* of one entry */ 12 13 dcl 1 daemon_save_req based(daemon_save_ptr) aligned, 14 2 lock fixed bin, /* 0 = free, non-0 = locked */ 15 2 active fixed bin, /* 0 = no, 1 = yes */ 16 2 ms_arg_copy(14) fixed bin, /* info returned by message_segment_ */ 17 /* programs */ 18 2 queue fixed bin, 19 2 pad(7) fixed bin; /* force to 8-word boundary */ 20 21 22 dcl 1 daemon_save_seg based aligned, /* template for save segment */ 23 2 save_req_copy(nd, 24) fixed bin, /* as many save slots as daemons */ 24 /* nd is supplied in daemon_info_format */ 25 /* include file */ 26 2 msg_area area(1048); /* area for messages */ 27 28 29 /* END INCLUDE FILE . . . daemon_save_seg.incl.pl1 */