xref: /titanic_41/usr/src/uts/i86pc/sys/pwrnow.h (revision 4b3651bda421ca87fe4c05950903b87abb7c8525)
1*4b3651bdSmh27603 /*
2*4b3651bdSmh27603  * CDDL HEADER START
3*4b3651bdSmh27603  *
4*4b3651bdSmh27603  * The contents of this file are subject to the terms of the
5*4b3651bdSmh27603  * Common Development and Distribution License (the "License").
6*4b3651bdSmh27603  * You may not use this file except in compliance with the License.
7*4b3651bdSmh27603  *
8*4b3651bdSmh27603  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*4b3651bdSmh27603  * or http://www.opensolaris.org/os/licensing.
10*4b3651bdSmh27603  * See the License for the specific language governing permissions
11*4b3651bdSmh27603  * and limitations under the License.
12*4b3651bdSmh27603  *
13*4b3651bdSmh27603  * When distributing Covered Code, include this CDDL HEADER in each
14*4b3651bdSmh27603  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*4b3651bdSmh27603  * If applicable, add the following below this CDDL HEADER, with the
16*4b3651bdSmh27603  * fields enclosed by brackets "[]" replaced with your own identifying
17*4b3651bdSmh27603  * information: Portions Copyright [yyyy] [name of copyright owner]
18*4b3651bdSmh27603  *
19*4b3651bdSmh27603  * CDDL HEADER END
20*4b3651bdSmh27603  */
21*4b3651bdSmh27603 /*
22*4b3651bdSmh27603  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4b3651bdSmh27603  * Use is subject to license terms.
24*4b3651bdSmh27603  */
25*4b3651bdSmh27603 
26*4b3651bdSmh27603 #ifndef	_PWRNOW_H
27*4b3651bdSmh27603 #define	_PWRNOW_H
28*4b3651bdSmh27603 
29*4b3651bdSmh27603 #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*4b3651bdSmh27603 
31*4b3651bdSmh27603 #include <sys/cpudrv.h>
32*4b3651bdSmh27603 
33*4b3651bdSmh27603 #ifdef __cplusplus
34*4b3651bdSmh27603 extern "C" {
35*4b3651bdSmh27603 #endif
36*4b3651bdSmh27603 
37*4b3651bdSmh27603 extern int pwrnow_init(cpudrv_devstate_t *);
38*4b3651bdSmh27603 extern void pwrnow_fini(cpudrv_devstate_t *);
39*4b3651bdSmh27603 extern int pwrnow_power(cpudrv_devstate_t *, uint32_t);
40*4b3651bdSmh27603 
41*4b3651bdSmh27603 #ifdef __cplusplus
42*4b3651bdSmh27603 }
43*4b3651bdSmh27603 #endif
44*4b3651bdSmh27603 
45*4b3651bdSmh27603 #endif	/* _PWRNOW_H */
46