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