1 /* 2 * Copyright (c) 1989 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that the above copyright notice and this paragraph are 7 * duplicated in all such forms and that any documentation, 8 * advertising materials, and other materials related to such 9 * distribution and use acknowledge that the software was developed 10 * by the University of California, Berkeley. The name of the 11 * University may not be used to endorse or promote products derived 12 * from this software without specific prior written permission. 13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16 * 17 * @(#)tsleep.h 7.2 (Berkeley) 02/15/90 18 */ 19 #ifndef _TSLEEP_ 20 #define _TSLEEP_ 21 22 #define SLP_WAIT 0 23 #define SLP_PAUSE 1 24 #define SLP_LOGREAD 2 25 #define SLP_SELECT 3 26 #define SLP_TTYOUT 4 27 #define SLP_TTY_NOTFG 5 28 #define SLP_TTY_CARR 6 29 #define SLP_TTYIN_NOTFG 7 30 #define SLP_TTY_READ 8 31 #define SLP_TTY_TSTP 9 32 #define SLP_TTYOUT_NOTFG 10 33 #define SLP_TTYOUT_CLIST 11 34 #define SLP_PTS_OPEN 12 35 #define SLP_PTC_WRITE 13 36 #define SLP_SO_LINGER 14 37 #define SLP_SO_SBWAIT 15 38 #define SLP_SO_ACCEPT 16 39 #define SLP_SO_ACCEPT2 17 40 #define SLP_EXLCK 18 41 #define SLP_SHLCK 19 42 #define SLP_ISO_CONSOUT 20 43 #define SLP_ISO_CONSCONN 21 44 #define SLP_NFS_IOD 22 45 #define SLP_SO_SBLOCK 23 46 #define SLP_TU_OPN 24 47 #define SLP_MFS 25 48 #define SLP_HP_OPEN 26 49 #define SLP_AD_GETW 27 50 #define SLP_PCAT_OUT 28 51 #define SLP_PCAT_CLIST 29 52 #define SLP_DH_OPN 30 53 #define SLP_DHU_OPN 31 54 #define SLP_DMFL_ASLP 32 55 #define SLP_DMFL_ERROR 33 56 #define SLP_DMX_OPN 34 57 #define SLP_DN_REG 35 58 #define SLP_DN_PAUSE 36 59 #define SLP_DZ_OPN 37 60 #define SLP_IK_BUSY 38 61 #define SLP_LP_OUT 39 62 #define SLP_LP_CLIST 40 63 #define SLP_NP_SLP 41 64 #define SLP_PS_REFRESH 42 65 #define SLP_PS_MAP 43 66 #define SLP_TM_OPN 44 67 #define SLP_UDA_OPN 45 68 #define SLP_UT_OPN 46 69 #define SLP_UU_OPN 47 70 #define SLP_VS_WAIT 48 71 #define SLP_VS_USRWAIT 49 72 #define SLP_VS_START 50 73 #define SLP_VS_ABORT 51 74 #define SLP_VS_PWRUP 52 75 #define SLP_VS_IOBCTL 53 76 #define SLP_VS_FIB 54 77 #define SLP_VS_FIBRET 55 78 #define SLP_VS_INITF 56 79 #define SLP_VS_INITDEV 57 80 #define SLP_DR_WAIT 58 81 #define SLP_DR_RESET 59 82 #define SLP_DR_ACTV 60 83 #define SLP_HD_OPN 61 84 #define SLP_MP_1OPN 62 85 #define SLP_MP_POPN 63 86 #define SLP_MP_OPN 64 87 #define SLP_MP_1CLS 65 88 #define SLP_MP_CLS 66 89 #define SLP_MP_BRK 67 90 #define SLP_MP_STDL 68 91 #define SLP_MP_DLWAIT 69 92 #define SLP_VD_OPN 70 93 #define SLP_VX_OPN 71 94 #define SLP_VX_CLS 72 95 #define SLP_VX_PARAM 73 96 #endif 97 98 #ifdef SLP_MSGLIST 99 char *slp_mesg[] = { 100 "wait", 101 "pause", 102 "log_read", 103 "select", 104 "ttyout", 105 "tty_notfg", 106 "tty_carrier", 107 "ttyin_notfg", 108 "ttread", 109 "tty_tstp", 110 "ttyout_notfg", 111 "tty_clists", 112 "tty_ptsopen", 113 "tty_ptcwrite", /* 13 */ 114 "so_linger", 115 "so_sbwait", 116 "so_accept", 117 "so_accept2", 118 "exlock", 119 "shlock", 120 "iso_cons", 121 "iso_consconn", 122 "nfs_iod", 123 "so_sblock", 124 "tu58_opn", 125 "mfs_idle", 126 "hp_open", 127 "ad_getw", 128 "pcat_out", 129 "pcat_clist", 130 "dh_opn", 131 "dhu_opn", 132 "dmfl_aslp", 133 "dmfl_err", 134 "dmx_opn", 135 "dn_reg", 136 "dn_pause", 137 "dz_opn", 138 "ik_busy", 139 "lp_out", 140 "lp_clist", 141 "np_slp", 142 "ps_refresh", 143 "ps_map", 144 "tm_opn", 145 "uda_opn", 146 "ut_opn", 147 "uu_opn", 148 "vs_wait", 149 "vs_usrwait", 150 "vs_start", 151 "vs_abort", 152 "vs_pwrup", 153 "vs_iobctl", 154 "vs_fib", 155 "vs_fibret", 156 "vs_initf", 157 "vs_initdev", 158 "dr_wait", 159 "dr_reset", 160 "dr_actv", 161 "hd_opn", 162 "mp_1opn", 163 "mp_popn", 164 "mp_opn", 165 "mp_1cls", 166 "mp_cls", 167 "mp_brk", 168 "mp_stdl", 169 "mp_dlwait", 170 "vd_opn", 171 "vx_opn", 172 "vx_cls", 173 "vx_param", 174 }; 175 #endif 176