summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/sys/cpu.h')
-rw-r--r--usr/src/uts/intel/sys/cpu.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/uts/intel/sys/cpu.h b/usr/src/uts/intel/sys/cpu.h
index 07a81e38de..8f4d5af138 100644
--- a/usr/src/uts/intel/sys/cpu.h
+++ b/usr/src/uts/intel/sys/cpu.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -39,6 +38,7 @@
* Include generic bustype cookies.
*/
#include <sys/bustypes.h>
+#include <sys/inttypes.h>
#if defined(__GNUC__) && defined(_ASM_INLINES) && defined(_KERNEL)
#include <asm/cpu.h>
#endif
@@ -52,6 +52,9 @@ extern void ht_pause(void);
extern void cli(void);
extern void sti(void);
extern void i86_halt(void);
+extern void i86_monitor(volatile uint32_t *addr, uint32_t extensions,
+ uint32_t hints);
+extern void i86_mwait(uint32_t data, uint32_t extensions);
/*
* Used to insert cpu-dependent instructions into spin loops