xref: /titanic_44/usr/src/uts/sun4v/sys/kldc.h (revision 5699897cfc22a71e1441854892e3659f179ee0bc)
1*5699897cSHaik Aftandilian /*
2*5699897cSHaik Aftandilian  * CDDL HEADER START
3*5699897cSHaik Aftandilian  *
4*5699897cSHaik Aftandilian  * The contents of this file are subject to the terms of the
5*5699897cSHaik Aftandilian  * Common Development and Distribution License (the "License").
6*5699897cSHaik Aftandilian  * You may not use this file except in compliance with the License.
7*5699897cSHaik Aftandilian  *
8*5699897cSHaik Aftandilian  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*5699897cSHaik Aftandilian  * or http://www.opensolaris.org/os/licensing.
10*5699897cSHaik Aftandilian  * See the License for the specific language governing permissions
11*5699897cSHaik Aftandilian  * and limitations under the License.
12*5699897cSHaik Aftandilian  *
13*5699897cSHaik Aftandilian  * When distributing Covered Code, include this CDDL HEADER in each
14*5699897cSHaik Aftandilian  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*5699897cSHaik Aftandilian  * If applicable, add the following below this CDDL HEADER, with the
16*5699897cSHaik Aftandilian  * fields enclosed by brackets "[]" replaced with your own identifying
17*5699897cSHaik Aftandilian  * information: Portions Copyright [yyyy] [name of copyright owner]
18*5699897cSHaik Aftandilian  *
19*5699897cSHaik Aftandilian  * CDDL HEADER END
20*5699897cSHaik Aftandilian  */
21*5699897cSHaik Aftandilian /*
22*5699897cSHaik Aftandilian  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*5699897cSHaik Aftandilian  * Use is subject to license terms.
24*5699897cSHaik Aftandilian  */
25*5699897cSHaik Aftandilian 
26*5699897cSHaik Aftandilian #ifndef _SYS_KLDC_H
27*5699897cSHaik Aftandilian #define	_SYS_KLDC_H
28*5699897cSHaik Aftandilian 
29*5699897cSHaik Aftandilian #ifdef __cplusplus
30*5699897cSHaik Aftandilian extern "C" {
31*5699897cSHaik Aftandilian #endif
32*5699897cSHaik Aftandilian 
33*5699897cSHaik Aftandilian /*
34*5699897cSHaik Aftandilian  * External interface
35*5699897cSHaik Aftandilian  */
36*5699897cSHaik Aftandilian extern void kldc_set_debug_cb(void (*debug_enter_cb)(void));
37*5699897cSHaik Aftandilian extern void kldc_debug_enter(void);
38*5699897cSHaik Aftandilian 
39*5699897cSHaik Aftandilian #ifdef __cplusplus
40*5699897cSHaik Aftandilian }
41*5699897cSHaik Aftandilian #endif
42*5699897cSHaik Aftandilian 
43*5699897cSHaik Aftandilian #endif /* _SYS_KLDC_H */
44