<<                                                               >>     00005000
                                                                        00010000
                                                                        00015000
                                                                        00020000
<<                         incliqh5                              >>     00025000
                                                                        00030000
                                                                        00035000
<<===============================================================>>     00040000
<<                                                               >>     00045000
<<             iiiii       qqqqqq       h    h      v       v    >>     00050000
<<               i         q    q       h    h       v     v     >>     00055000
<<               i         q   qq       hhhhhh        v   v      >>     00060000
<<               i         qqqqqqq      h    h         v v       >>     00065000
<<             iiiii             q      h    h          v        >>     00070000
<<===============================================================>>     00075000
                                                                        00080000
<<             i o         queue        head                     >>     00085000
                                                                        00090000
$if x8 = off                                                            00095000
$control nolist                                                         00100000
$if                                                                     00105000
comment                                                                 00110000
                                                                        00115000
                     ioq table layout                                   00120000
                     ----------------                                   00125000
                                                                        00130000
                                                                        00135000
                |------------------------|                              00140000
                |        total #         |                              00145000
                |------------------------|                              00150000
                |       entry size       |                              00155000
                |------------------------|                              00160000
                |       primary #        |                              00165000
                |------------------------|                              00170000
                |  impeded process pcb   |                              00175000
                |------------------------|                              00180000
         -------|      head index        |  thead                       00185000
         |      |------------------------|                              00190000
   -------------|      tail index        |  ttail                       00195000
   |     |      |------------------------|                              00200000
   |     |      |   maximum of in use    |  tuse                        00205000
   |     |      |------------------------|                              00210000
   |     |      |    current in use      |                              00215000
   |     |      |------------------------|                              00220000
   |     |      |      overflows         |  tovrfl                      00225000
   |     |      |------------------------|                              00230000
   |     |      |                        |                              00235000
   |     |      |    total requests      |  trqsts                      00240000
   |     |      |                        |                              00245000
   |     |      |------------------------|                              00250000
   |     |   -->|                        |                              00255000
   |     |   |  |------------------------|                              00260000
   |     |   |  |      index of 5        |-----                         00265000
   |     |   |  |------------------------|    |                         00270000
   |     |   |  |                        |    |                         00275000
   |     |   |  |                        |    |                         00280000
   |     |   |  |       entry 1          |    |                         00285000
   |     |   |  |                        |    |                         00290000
   |     |   |  |                        |    |                         00295000
   |     |   |  |------------------------|    |                         00300000
   |-----|---|->|                        |<---|----                     00305000
         |   |  |------------------------|    |   |                     00310000
         |   |  |           0            |    |   |                     00315000
         |   |  |------------------------|    |   |                     00320000
         |   |  |                        |    |   |                     00325000
         |   |  |                        |    |   |                     00330000
         |   |  |        entry 2         |    |   |                     00335000
         |   |  |                        |    |   |                     00340000
         |   |  |                        |    |   |                     00345000
         |   |  |------------------------|    |   |                     00350000
         |---|->|                        |    |   |                     00355000
             |  |------------------------|    |   |                     00360000
             |--|       index of 1       |    |   |                     00365000
                |------------------------|    |   |                     00370000
                |                        |    |   |                     00375000
                |                        |    |   |                     00380000
                |         entry 3        |    |   |                     00385000
                |                        |    |   |                     00390000
                |                        |    |   |                     00395000
                |------------------------|    |   |                     00400000
                |                        |    |   |                     00405000
ioq (cont.)                                                             00410000
---                                                                     00415000
                                                                        00420000
                                                                        00425000
                |------------------------|    |   |                     00430000
                |     indeterminate      |    |   |                     00435000
                |------------------------|    |   |                     00440000
                |                        |    |   |                     00445000
                |                        |    |   |                     00450000
                |         entry 4        |    |   |                     00455000
                |        (in use)        |    |   |                     00460000
                |                        |    |   |                     00465000
                |                        |    |   |                     00470000
                |------------------------|    |   |                     00475000
                |                        |<---|   |                     00480000
                |------------------------|        |                     00485000
                |       index of 2       |--------|                     00490000
                |------------------------|                              00495000
                |                        |                              00500000
                |                        |                              00505000
                |         entry 5        |                              00510000
                |                        |                              00515000
                |                        |                              00520000
                |------------------------|                              00525000
                                                                        00530000
                                                                        00535000
           dst  %13                                                     00540000
           system table   5                                             00545000
                                                                        00550000
                                                                        00555000
                                                                        00560000
                       ioq table head                                   00565000
                       -----------                                      00570000
                                                                        00575000
    0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15                      00580000
  |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|                     00585000
 0|         total number of entries               |  totent             00590000
  |-----------------------------------------------|                     00595000
 1|               entry size                      |  entsize            00600000
  |-----------------------------------------------|                     00605000
 2|       number of entries in primary area       |  prient             00610000
  |-----------------------------------------------|                     00615000
 3|       impeded process pcb                     |  imppcb             00620000
  |-----------------------------------------------|                     00625000
 4|       free queue element list head index      |  freehead           00630000
  |-----------------------------------------------|                     00635000
 5|       free queue element list tail index      |  freetail           00640000
  |-----------------------------------------------|                     00645000
 6|     maximum entries ever in use               |  maxinuse           00650000
  |-----------------------------------------------|                     00655000
 7|     current number of entries in use          |  curinuse           00660000
  |-----------------------------------------------|                     00665000
 8|       number of times table has overflowed    |  ovrflows           00670000
  |-----------------------------------------------|                     00675000
 9|                    total                      |  reqcount           00680000
  |                                               |                     00685000
10|                   requests                    |                     00690000
  |-----------------------------------------------|                     00695000
11|                                               |                     00700000
  |-----------------------------------------------|                     00705000
;                                                                       00710000
$control list                                                           00715000
<<   no pegging should be required for this set of declarations >>      00720000
<<   since it starts at word zero of the disc request table    >>       00725000
<<                                                              >>      00730000
<<                                                             >>       00735000
<<                                                             >>       00740000
                                                                        00745000
                                                                        00750000
logical pointer iqh = %5;     << system table definition for iqh >>     00755000
                                                                        00760000
                                                                        00765000
equate                                                                  00770000
                                                                        00775000
    ioq'dst           =  11,   << dst # for ioq >>                      00780000
                                                                        00785000
    iqh'totent'index  =  0,                                             00790000
    iqh'entsize'index =  1,                                             00795000
    iqh'prient'index  =  2,                                             00800000
    iqh'imppcb'index  =  3,                                             00805000
    iqh'freehead'index=  4,                                             00810000
    iqh'freetail'index=  5,                                             00815000
    iqh'maxinuse'index=  6,                                             00820000
    iqh'curinuse'index=  7,                                             00825000
    iqh'ovrflows'index=  8,                                             00830000
    iqh'reqcount'index=  9,                                             00835000
    iqh'reqcounu'index=  10,                                            00840000
    iqh'header'size   =  12;                                            00845000
                                                                        00850000
                                                                        00855000
define                                                                  00860000
                                                                        00865000
    iqh'tot'ent =   iqh(iqh'totent'index)#,   << total # of entries >>  00870000
    iqh'ent'size=   iqh(iqh'entsize'index)#,  << entry size         >>  00875000
    iqh'pri'ent =   iqh(iqh'prient'index)#,   << # of primary entries >>00880000
    iqh'imp'pcb =   iqh(iqh'imppcb'index)#,   << impeded pcb         >> 00885000
    iqh'freehead=   iqh(iqh'freehead'index)#, << free entry list pntr >>00890000
    iqh'freetail=   iqh(iqh'freetail'index)#, << free list tail pntr >> 00895000
    iqh'max'nuse=   iqh(iqh'maxinuse'index)#, << max ques ever used >>  00900000
    iqh'cur'nuse=   iqh(iqh'curinuse'index)#, << current ques used  >>  00905000
    iqh'ovrflows=   iqh(iqh'ovrflows'index)#, << number of overflows >> 00910000
    iqh'reqcount=   iqh(iqh'reqcount'index)#, << total of all request >>00915000
    iqh'reqcounu=   iqh(iqh'reqcounu'index)#; << total of all request >>00920000
