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