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