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