Print this page
PANKOVs restructure


  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 /*
  26  * Copyright (c) 2009, Intel Corporation.
  27  * All rights reserved.
  28  */
  29 
  30 #include <sys/cpu_pm.h>
  31 #include <sys/x86_archext.h>
  32 #include <sys/sdt.h>
  33 #include <sys/spl.h>
  34 #include <sys/machsystm.h>
  35 #include <sys/archsystm.h>
  36 #include <sys/hpet.h>
  37 #include <sys/acpi/acpi.h>
  38 #include <sys/acpica.h>
  39 #include <sys/cpupm.h>
  40 #include <sys/cpu_idle.h>
  41 #include <sys/cpu_acpi.h>
  42 #include <sys/cpupm_throttle.h>
  43 #include <sys/dtrace.h>
  44 #include <sys/note.h>
  45 
  46 /*
  47  * This callback is used to build the PPM CPU domains once
  48  * a CPU device has been started. The callback is initialized
  49  * by the PPM driver to point to a routine that will build the
  50  * domains.
  51  */
  52 void (*cpupm_ppm_alloc_pstate_domains)(cpu_t *);
  53 
  54 /*
  55  * This callback is used to remove CPU from the PPM CPU domains
  56  * when the cpu driver is detached. The callback is initialized
  57  * by the PPM driver to point to a routine that will remove CPU




  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 /*
  26  * Copyright (c) 2009, Intel Corporation.
  27  * All rights reserved.
  28  */
  29 
  30 #include <sys/cpu_pm.h>
  31 #include <sys/x86_archext.h>
  32 #include <sys/sdt.h>
  33 #include <sys/spl.h>
  34 #include <sys/machsystm.h>
  35 #include <sys/archsystm.h>
  36 #include <sys/hpet.h>
  37 #include <acpica/include/acpi.h>
  38 #include <sys/acpica.h>
  39 #include <sys/cpupm.h>
  40 #include <sys/cpu_idle.h>
  41 #include <sys/cpu_acpi.h>
  42 #include <sys/cpupm_throttle.h>
  43 #include <sys/dtrace.h>
  44 #include <sys/note.h>
  45 
  46 /*
  47  * This callback is used to build the PPM CPU domains once
  48  * a CPU device has been started. The callback is initialized
  49  * by the PPM driver to point to a routine that will build the
  50  * domains.
  51  */
  52 void (*cpupm_ppm_alloc_pstate_domains)(cpu_t *);
  53 
  54 /*
  55  * This callback is used to remove CPU from the PPM CPU domains
  56  * when the cpu driver is detached. The callback is initialized
  57  * by the PPM driver to point to a routine that will remove CPU