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