xref: /titanic_50/usr/src/cmd/mdb/common/modules/genunix/hotplug.h (revision 269473047d747f7815af570197e4ef7322d3632c)
1*26947304SEvan Yan /*
2*26947304SEvan Yan  * CDDL HEADER START
3*26947304SEvan Yan  *
4*26947304SEvan Yan  * The contents of this file are subject to the terms of the
5*26947304SEvan Yan  * Common Development and Distribution License (the "License").
6*26947304SEvan Yan  * You may not use this file except in compliance with the License.
7*26947304SEvan Yan  *
8*26947304SEvan Yan  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*26947304SEvan Yan  * or http://www.opensolaris.org/os/licensing.
10*26947304SEvan Yan  * See the License for the specific language governing permissions
11*26947304SEvan Yan  * and limitations under the License.
12*26947304SEvan Yan  *
13*26947304SEvan Yan  * When distributing Covered Code, include this CDDL HEADER in each
14*26947304SEvan Yan  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*26947304SEvan Yan  * If applicable, add the following below this CDDL HEADER, with the
16*26947304SEvan Yan  * fields enclosed by brackets "[]" replaced with your own identifying
17*26947304SEvan Yan  * information: Portions Copyright [yyyy] [name of copyright owner]
18*26947304SEvan Yan  *
19*26947304SEvan Yan  * CDDL HEADER END
20*26947304SEvan Yan  */
21*26947304SEvan Yan /*
22*26947304SEvan Yan  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*26947304SEvan Yan  * Use is subject to license terms.
24*26947304SEvan Yan  */
25*26947304SEvan Yan 
26*26947304SEvan Yan #ifndef	_HOTPLUG_H
27*26947304SEvan Yan #define	_HOTPLUG_H
28*26947304SEvan Yan 
29*26947304SEvan Yan #ifdef	__cplusplus
30*26947304SEvan Yan extern "C" {
31*26947304SEvan Yan #endif
32*26947304SEvan Yan 
33*26947304SEvan Yan extern int hotplug(uintptr_t addr, uint_t flags, int argc,
34*26947304SEvan Yan     const mdb_arg_t *argv);
35*26947304SEvan Yan extern void hotplug_help(void);
36*26947304SEvan Yan 
37*26947304SEvan Yan #ifdef	__cplusplus
38*26947304SEvan Yan }
39*26947304SEvan Yan #endif
40*26947304SEvan Yan 
41*26947304SEvan Yan #endif	/* _HOTPLUG_H */
42