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