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.1 (Berkeley) 02/08/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 37 #ifdef SLP_MSGLIST 38 char *slp_mesg[] = { 39 "wait", 40 "pause", 41 "log_read", 42 "select", 43 "ttyout", 44 "tty_notfg", 45 "tty_carrier", 46 "ttyin_notfg", 47 "ttread", 48 "tty_tstp", 49 "ttyout_notfg", 50 "tty_clists", 51 "tty_ptsopen", 52 "tty_ptcwrite", /* 13 */ 53 #define SLP_SO_LINGER 14 54 "so_linger", 55 #define SLP_SO_SBWAIT 15 56 "so_sbwait", 57 #define SLP_SO_ACCEPT 16 58 "so_accept", 59 #define SLP_SO_ACCEPT2 17 60 "so_accept2", 61 #define SLP_EXLCK 18 62 "exlock", 63 #define SLP_SHLCK 19 64 "shlock", 65 #define SLP_ISO_CONSOUT 20 66 "iso_cons", 67 #define SLP_ISO_CONSCONN 21 68 "iso_consconn", 69 #define SLP_NFS_IOD 22 70 "nfs_iod", 71 #define SLP_SO_SBLOCK 23 72 "so_sblock", 73 #define SLP_TU_OPN 24 74 "tu58_opn", 75 #define SLP_MFS 25 76 "mfs_idle", 77 #define SLP_HP_OPEN 26 78 "hp_open", 79 #define SLP_AD_GETW 27 80 "ad_getw", 81 #define SLP_PCAT_OUT 28 82 "pcat_out", 83 #define SLP_PCAT_CLIST 29 84 "pcat_clist", 85 #define SLP_DH_OPN 30 86 "dh_opn", 87 #define SLP_DHU_OPN 31 88 "dhu_opn", 89 #define SLP_DMFL_ASLP 32 90 "dmfl_aslp", 91 #define SLP_DMFL_ERROR 33 92 "dmfl_err", 93 #define SLP_DMX_OPN 34 94 "dmx_opn", 95 #define SLP_DN_REG 35 96 "dn_reg", 97 #define SLP_DN_PAUSE 36 98 "dn_pause", 99 #define SLP_DZ_OPN 37 100 "dz_opn", 101 #define SLP_IK_BUSY 38 102 "ik_busy", 103 #define SLP_LP_OUT 39 104 "lp_out", 105 #define SLP_LP_CLIST 40 106 "lp_clist", 107 #define SLP_NP_SLP 41 108 "np_slp", 109 #define SLP_PS_REFRESH 42 110 "ps_refresh", 111 #define SLP_PS_MAP 43 112 "ps_map", 113 #define SLP_TM_OPN 44 114 "tm_opn", 115 #define SLP_UDA_OPN 45 116 "uda_opn", 117 #define SLP_UT_OPN 46 118 "ut_opn", 119 #define SLP_UU_OPN 47 120 "uu_opn", 121 #define SLP_VS_WAIT 48 122 "vs_wait", 123 #define SLP_VS_USRWAIT 49 124 "vs_usrwait", 125 #define SLP_VS_START 50 126 "vs_start", 127 #define SLP_VS_ABORT 51 128 "vs_abort", 129 #define SLP_VS_PWRUP 52 130 "vs_pwrup", 131 #define SLP_VS_IOBCTL 53 132 "vs_iobctl", 133 #define SLP_VS_FIB 54 134 "vs_fib", 135 #define SLP_VS_FIBRET 55 136 "vs_fibret", 137 #define SLP_VS_INITF 56 138 "vs_initf", 139 #define SLP_VS_INITDEV 57 140 "vs_initdev", 141 #define SLP_DR_WAIT 58 142 "dr_wait", 143 #define SLP_DR_RESET 59 144 "dr_reset", 145 #define SLP_DR_ACTV 60 146 "dr_actv", 147 #define SLP_HD_OPN 61 148 "hd_opn", 149 #define SLP_MP_1OPN 62 150 "mp_1opn", 151 #define SLP_MP_POPN 63 152 "mp_popn", 153 #define SLP_MP_OPN 64 154 "mp_opn", 155 #define SLP_MP_1CLS 65 156 "mp_1cls", 157 #define SLP_MP_CLS 66 158 "mp_cls", 159 #define SLP_MP_BRK 67 160 "mp_brk", 161 #define SLP_MP_STDL 68 162 "mp_stdl", 163 #define SLP_MP_DLWAIT 69 164 "mp_dlwait", 165 #define SLP_VD_OPN 70 166 "vd_opn", 167 #define SLP_VX_OPN 71 168 "vx_opn", 169 #define SLP_VX_CLS 72 170 "vx_cls", 171 #define SLP_VX_PARAM 73 172 "vx_param", 173 }; 174 #endif 175 #endif 176