1 /* BEGIN INCLUDE FILE ... devtab.incl.pl1 */
 2 
 3 /* The device table contains one entry for each device attached to a process */
 4 
 5 dcl  DEVTAB_version fixed bin int static init (0);          /* version of this dcl */
 6 
 7 dcl 1 devtab based (devtabp) aligned,
 8     2 current_size fixed bin,                               /* number of slots in table */
 9     2 max_size fixed bin,                                   /* maximum number of slots */
10     2 n_devices fixed bin,                                  /* number of devices in used */
11     2 freep fixed bin,                                      /* free chain head ptr */
12     2 version fixed bin,                                    /* version number of this dcl, currently 0 */
13     2 pad1 fixed bin,
14     2 usage_total (16) fixed bin (71),                      /* total device hours */
15     2 pad (26) fixed bin,
16     2 entry (100),                                          /* device entries */
17       3 fill (32) fixed bin;
18 
19 dcl 1 deve based (devep) aligned,                           /* individual device */
20     2 state fixed bin,                                      /* 0 = free */
21     2 devid fixed bin,                                      /* device type */
22     2 process_chain_f fixed bin,                            /* forward chain (also free list) */
23     2 process_chain_b fixed bin,                            /* backward chain */
24     2 dev_name char (32),                                   /* name of device */
25     2 mount_time fixed bin (71),                            /* time mounted */
26     2 update_time fixed bin (71),                           /* time last updated */
27     2 pdtep ptr,                                            /* ptr to pdt entry */
28     2 pad (12) fixed bin;
29 
30 /* END INCLUDE FILE ... devtab.incl.pl1 */