1 /* BEGIN INCLUDE FILE...device_class.incl.pl1 */
 2 
 3 
 4 
 5 /****^  HISTORY COMMENTS:
 6   1) change(88-01-27,Brunelle), approve(), audit(), install():
 7      Ancient History
 8      Coded by R.S.Coren August 1973
 9      Modified by J. Stern, 1/8/75
10      Modified by J. C. Whitmore, 5/78, to extent the size of the device list
11   2) change(88-02-18,Brunelle), approve(88-08-31,MCR7911),
12      audit(88-09-29,Wallman), install(88-10-28,MR12.2-1199):
13      Added comment field in dcte.
14                                                    END HISTORY COMMENTS */
15 
16 
17 /* format: style4 */
18 
19 dcl  dctp ptr;                                              /* ptr to device class table */
20 dcl  1 dev_class_tab aligned based (dctp),                  /* the device class table */
21        2 n_classes fixed bin,                               /* number of device classes */
22        2 pad fixed bin,
23        2 entries (1 refer (dev_class_tab.n_classes)) like dcte;
24 
25 dcl  dctep ptr;                                             /* device class table entry ptr */
26 
27 dcl  1 dcte aligned based (dctep),                          /* device class table entry */
28 
29 /* following items are initialized before daemon is run */
30 
31        2 id char (32),                                      /* device class name for this entry */
32        2 comment unaligned like text_offset,                /* comment to apply to the device class */
33        2 qgte_index fixed bin,                              /* index of queue group table entry */
34        2 pad1 fixed bin,
35        2 max_access bit (72),                               /* max request access class */
36        2 min_access bit (72),                               /* min request access class */
37        2 min_banner bit (72),                               /* min access class to be placed on output banner */
38        2 device_list bit (360),                             /* bit _^Hi ON => minor device _^Hi is valid for device class */
39 
40 /* remaining info is dynamic */
41 
42        2 pending_request fixed bin (18),                    /* descriptor offset for allocated but unassigned request */
43        2 restart_req fixed bin (18),                        /* offset of next (or last) descriptor to be restarted */
44        2 pad2 (3) fixed bin,
45        2 n_waiting fixed bin,                               /* number of waiting requests for device class */
46        2 per_queue_info (4),                                /* one copy of this for each queue */
47          3 first_waiting fixed bin,                         /* index of first waiting list entry */
48          3 last_waiting fixed bin;                          /* index of last waiting list entry */
49 
50 
51 /* END INCLUDE FILE...device_class.incl.pl1 */