xref: /titanic_50/usr/src/stand/lib/fs/hsfs/hsfs_sig.h (revision c77a61a72b5ecdc507d6cf104142edd371a16c84)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  *
22  * Copyright 2000 Sun Microsystems, Inc.  All rights reserved.
23  * Use is subject to license terms.
24  */
25 
26 #pragma ident	"%Z%%M%	%I%	%E% SMI"
27 
28 static char *hsfs_sig_tab[] = {
29 	SUSP_SP,
30 	SUSP_CE,
31 	SUSP_PD,
32 	SUSP_ST,
33 	SUSP_ER,
34 	RRIP_PX,
35 	RRIP_PN,
36 	RRIP_SL,
37 	RRIP_CL,
38 	RRIP_PL,
39 	RRIP_RE,
40 	RRIP_TF,
41 	RRIP_RR,
42 	RRIP_NM
43 };
44 
45 static int hsfs_num_sig = sizeof (hsfs_sig_tab) / sizeof (hsfs_sig_tab[0]);
46 
47 #define	SUSP_SP_IX	0
48 #define	SUSP_CE_IX	1
49 #define	SUSP_PD_IX	2
50 #define	SUSP_ST_IX	3
51 #define	SUSP_ER_IX	4
52 
53 #define	RRIP_PX_IX	5
54 #define	RRIP_PN_IX	6
55 #define	RRIP_SL_IX	7
56 #define	RRIP_CL_IX	8
57 #define	RRIP_PL_IX	9
58 #define	RRIP_RE_IX	10
59 #define	RRIP_RF_IX	11
60 #define	RRIP_RR_IX	12
61 #define	RRIP_NM_IX	13
62