home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gccdist / gcc / include / vms / pcbdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-27  |  3.8 KB  |  152 lines

  1.  
  2. /*
  3.  *
  4.  *    $PCBDEF
  5.  *    Generated automatically by "vms_struct Version 1.00"
  6.  *    Created from VMS definition file "pcbdef"
  7.  *    Auxiliary information from file "/usr/include/vms/pcbdef.i"
  8.  *    Wed Jan  9 13:11:29 1985
  9.  *
  10.  */
  11. struct PCB {
  12.     struct PCB *    pcb$l_sqfl;
  13.     struct PCB *    pcb$l_sqbl;
  14.     unsigned short    pcb$w_size;
  15.     unsigned char    pcb$b_type;
  16.     unsigned char    pcb$b_pri;
  17.     unsigned char    pcb$b_astact;
  18.     unsigned char    pcb$b_asten;
  19.     unsigned short    pcb$w_mtxcnt;
  20.     struct AST *    pcb$l_astqfl;
  21.     struct AST *    pcb$l_astqbl;
  22.     struct PCB *    pcb$l_phypcb;
  23.     unsigned long    pcb$l_owner;
  24.     unsigned long    pcb$l_wsswp;
  25.     unsigned long    pcb$l_sts;
  26.     union {
  27.         struct {
  28.             char PCB_un2[3];
  29.             unsigned char    PCB_un3;
  30. #define    pcb$b_authpri PCB_un1.PCB_un4.PCB_un3
  31.         } PCB_un4;
  32.         struct {
  33.             char PCB_un5[2];
  34.             unsigned char    PCB_un6;
  35. #define    pcb$b_dpc PCB_un1.PCB_un7.PCB_un6
  36.         } PCB_un7;
  37.         struct {
  38.             char PCB_un8[1];
  39.             unsigned char    PCB_un9;
  40. #define    pcb$b_pribsav PCB_un1.PCB_un10.PCB_un9
  41.         } PCB_un10;
  42.         unsigned char    PCB_un11;
  43. #define    pcb$b_prisav PCB_un1.PCB_un11
  44.         unsigned long    PCB_un12;
  45. #define    pcb$l_wtime PCB_un1.PCB_un12
  46.     } PCB_un1;
  47.     unsigned short    pcb$w_state;
  48.     unsigned char    pcb$b_wefc;
  49.     unsigned char    pcb$b_prib;
  50.     unsigned short    pcb$w_aptcnt;
  51.     unsigned short    pcb$w_tmbu;
  52.     unsigned short    pcb$w_gpgcnt;
  53.     unsigned short    pcb$w_ppgcnt;
  54.     unsigned short    pcb$w_astcnt;
  55.     unsigned short    pcb$w_biocnt;
  56.     unsigned short    pcb$w_biolm;
  57.     unsigned short    pcb$w_diocnt;
  58.     unsigned short    pcb$w_diolm;
  59.     unsigned short    pcb$w_prccnt;
  60.     unsigned char    pcb$t_terminal[8];
  61.     union {
  62.         unsigned long    PCB_un14;
  63. #define    pcb$l_efwm PCB_un13.PCB_un14
  64.         unsigned long    PCB_un15;
  65. #define    pcb$l_pqb PCB_un13.PCB_un15
  66.     } PCB_un13;
  67.     unsigned long    pcb$l_efcs;
  68.     unsigned long    pcb$l_efcu;
  69.     union {
  70.         struct {
  71.             char PCB_un17[2];
  72.             unsigned char    PCB_un18;
  73. #define    pcb$b_pgflindex PCB_un16.PCB_un19.PCB_un18
  74.         } PCB_un19;
  75.         unsigned long    PCB_un20;
  76. #define    pcb$l_efc2p PCB_un16.PCB_un20
  77.         unsigned short    PCB_un21;
  78. #define    pcb$w_pgflchar PCB_un16.PCB_un21
  79.     } PCB_un16;
  80.     union {
  81.         unsigned long    PCB_un23;
  82. #define    pcb$l_efc3p PCB_un22.PCB_un23
  83.         unsigned long    PCB_un24;
  84. #define    pcb$l_swapsize PCB_un22.PCB_un24
  85.     } PCB_un22;
  86.     unsigned long    pcb$l_pid;
  87.     unsigned long    pcb$l_epid;
  88.     unsigned long    pcb$l_eowner;
  89.     struct PHD *    pcb$l_phd;
  90.     unsigned char    pcb$t_lname[16];
  91.     struct JIB *    pcb$l_jib;
  92.     unsigned long    pcb$q_priv[2];
  93.     struct ARB *    pcb$l_arb;
  94.     unsigned char PCB_un25[44];
  95.     union {
  96.         struct {
  97.             char PCB_un27[2];
  98.             unsigned short    PCB_un28;
  99. #define    pcb$w_grp PCB_un26.PCB_un29.PCB_un28
  100.         } PCB_un29;
  101.         unsigned short    PCB_un30;
  102. #define    pcb$w_mem PCB_un26.PCB_un30
  103.         unsigned long    PCB_un31;
  104. #define    pcb$l_uic PCB_un26.PCB_un31
  105.     } PCB_un26;
  106.     unsigned char PCB_un32[60];
  107.     unsigned long    pcb$l_aclfl;
  108.     unsigned long    pcb$l_aclbl;
  109.     unsigned long    pcb$l_lockqfl;
  110.     unsigned long    pcb$l_lockqbl;
  111.     unsigned long    pcb$l_dlckpri;
  112.     unsigned long    pcb$l_ipast;
  113.     unsigned long    pcb$l_defprot;
  114.     unsigned long    pcb$l_waitime;
  115.     unsigned long    pcb$l_pmb;
  116.     };
  117.  
  118. #define    PCB$M_RES    1
  119. #define    PCB$M_DELPEN    2
  120. #define    PCB$M_FORCPEN    4
  121. #define    PCB$M_INQUAN    8
  122. #define    PCB$M_PSWAPM    16
  123. #define    PCB$M_RESPEN    32
  124. #define    PCB$M_SSFEXC    64
  125. #define    PCB$M_SSFEXCE    128
  126. #define    PCB$M_SSFEXCS    256
  127. #define    PCB$M_SSFEXCU    512
  128. #define    PCB$M_SSRWAIT    1024
  129. #define    PCB$M_SUSPEN    2048
  130. #define    PCB$M_WAKEPEN    4096
  131. #define    PCB$M_WALL    8192
  132. #define    PCB$M_BATCH    16384
  133. #define    PCB$M_NOACNT    32768
  134. #define    PCB$M_SWPVBN    65536
  135. #define    PCB$M_ASTPEN    131072
  136. #define    PCB$M_PHDRES    262144
  137. #define    PCB$M_HIBER    524288
  138. #define    PCB$M_LOGIN    1048576
  139. #define    PCB$M_NETWRK    2097152
  140. #define    PCB$M_PWRAST    4194304
  141. #define    PCB$M_NODELET    8388608
  142. #define    PCB$M_DISAWS    16777216
  143. #define    PCB$M_INTER    33554432
  144. #define    PCB$M_RECOVER    67108864
  145. #define    PCB$M_SECAUDIT    134217728
  146. #define    PCB$M_EPID_WILD    -2147483648
  147. #define    PCB$K_LENGTH    288
  148. #define    PCB$C_LENGTH    288
  149. #define    PCB$M_EPID_PROC    1
  150. #define    PCB$M_EPID_NODE_IDX    2097152
  151. #define    PCB$M_EPID_NODE_SEQ    536870912
  152.