summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys
diff options
context:
space:
mode:
authorRandy Fishel <Randy.Fishel@Sun.COM>2009-05-15 14:57:54 -0700
committerRandy Fishel <Randy.Fishel@Sun.COM>2009-05-15 14:57:54 -0700
commitfb2caebe9e38ee2e6e469d5136fb247faaa7299b (patch)
treee64801e10072265cd42fdb1dfaa92d67c442609b /usr/src/uts/intel/sys
parentbe9bec8bfc8d270cd5ad620fb84366f4071b0baa (diff)
downloadillumos-gate-fb2caebe9e38ee2e6e469d5136fb247faaa7299b.tar.gz
6836576 Integrate CPU Idle Notification into ON
PSARC/2009/115 CPU Idle Notification
Diffstat (limited to 'usr/src/uts/intel/sys')
-rw-r--r--usr/src/uts/intel/sys/cpu.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/uts/intel/sys/cpu.h b/usr/src/uts/intel/sys/cpu.h
index d62cb7692f..20f9e0290e 100644
--- a/usr/src/uts/intel/sys/cpu.h
+++ b/usr/src/uts/intel/sys/cpu.h
@@ -19,15 +19,13 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_CPU_H
#define _SYS_CPU_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* WARNING:
* This header file is Obsolete and may be deleted in a
@@ -72,12 +70,15 @@ extern void i86_mwait(uint32_t data, uint32_t extensions);
* C-state defines for the idle_state_transition DTrace probe
*
* The probe fires when the CPU undergoes an idle state change (e.g. C-state)
- * The agument passed is the C-state to which the CPU is transitioning.
+ * The argument passed is the C-state to which the CPU is transitioning.
*
- * The states are defined here.
+ * These states will be shared by cpupm subsystem, so they should be kept in
+ * consistence with ACPI defined C states.
*/
#define IDLE_STATE_C0 0
#define IDLE_STATE_C1 1
+#define IDLE_STATE_C2 2
+#define IDLE_STATE_C3 3
#endif /* _KERNEL */