1*f6e214c7SGavin Maltby /*
2*f6e214c7SGavin Maltby  * CDDL HEADER START
3*f6e214c7SGavin Maltby  *
4*f6e214c7SGavin Maltby  * The contents of this file are subject to the terms of the
5*f6e214c7SGavin Maltby  * Common Development and Distribution License (the "License").
6*f6e214c7SGavin Maltby  * You may not use this file except in compliance with the License.
7*f6e214c7SGavin Maltby  *
8*f6e214c7SGavin Maltby  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*f6e214c7SGavin Maltby  * or http://www.opensolaris.org/os/licensing.
10*f6e214c7SGavin Maltby  * See the License for the specific language governing permissions
11*f6e214c7SGavin Maltby  * and limitations under the License.
12*f6e214c7SGavin Maltby  *
13*f6e214c7SGavin Maltby  * When distributing Covered Code, include this CDDL HEADER in each
14*f6e214c7SGavin Maltby  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*f6e214c7SGavin Maltby  * If applicable, add the following below this CDDL HEADER, with the
16*f6e214c7SGavin Maltby  * fields enclosed by brackets "[]" replaced with your own identifying
17*f6e214c7SGavin Maltby  * information: Portions Copyright [yyyy] [name of copyright owner]
18*f6e214c7SGavin Maltby  *
19*f6e214c7SGavin Maltby  * CDDL HEADER END
20*f6e214c7SGavin Maltby  */
21*f6e214c7SGavin Maltby 
22*f6e214c7SGavin Maltby /*
23*f6e214c7SGavin Maltby  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*f6e214c7SGavin Maltby  */
25*f6e214c7SGavin Maltby 
26*f6e214c7SGavin Maltby #ifndef _PANIC_H
27*f6e214c7SGavin Maltby #define	_PANIC_H
28*f6e214c7SGavin Maltby 
29*f6e214c7SGavin Maltby #ifdef	__cplusplus
30*f6e214c7SGavin Maltby extern "C" {
31*f6e214c7SGavin Maltby #endif
32*f6e214c7SGavin Maltby 
33*f6e214c7SGavin Maltby #define	SW_SUNOS_PANIC_DETECTED	"ireport.os.sunos.panic.dump_pending_on_device"
34*f6e214c7SGavin Maltby #define	SW_SUNOS_PANIC_FAILURE	"ireport.os.sunos.panic.savecore_failure"
35*f6e214c7SGavin Maltby #define	SW_SUNOS_PANIC_AVAIL	"ireport.os.sunos.panic.dump_available"
36*f6e214c7SGavin Maltby 
37*f6e214c7SGavin Maltby #define	SW_SUNOS_PANIC_DEFECT	"defect.sunos.kernel.panic"
38*f6e214c7SGavin Maltby 
39*f6e214c7SGavin Maltby extern char *sw_panic_fmri2str(fmd_hdl_t *, nvlist_t *);
40*f6e214c7SGavin Maltby 
41*f6e214c7SGavin Maltby #ifdef	__cplusplus
42*f6e214c7SGavin Maltby }
43*f6e214c7SGavin Maltby #endif
44*f6e214c7SGavin Maltby 
45*f6e214c7SGavin Maltby #endif	/* _PANIC_H */
46