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