aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/i387.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-18 14:46:29 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-18 14:46:29 +0000
commit60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9 (patch)
treeb477b901498e1f22504ea55339680079600767d6 /xen/include/asm-x86/i387.h
parent82eefd80489f629cde550047982bece346aca22e (diff)
downloadxen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.tar.gz
xen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.tar.bz2
xen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.zip
bitkeeper revision 1.982 (40d300456_XUbFFOMxRh4MjyB7AfJA)
Hacked the scheduler interfaces in Xen. We now have synchronous pause. Suspend/death VIRQs have gone away; replace by dom-controller msgs. Xen no longer knows about PS/2 keyboard/mouse; DOM0 can go straight at them.
Diffstat (limited to 'xen/include/asm-x86/i387.h')
-rw-r--r--xen/include/asm-x86/i387.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/include/asm-x86/i387.h b/xen/include/asm-x86/i387.h
index 95a6bb6cde..5221da49db 100644
--- a/xen/include/asm-x86/i387.h
+++ b/xen/include/asm-x86/i387.h
@@ -15,16 +15,16 @@
#include <asm/processor.h>
extern void init_fpu(void);
-extern void save_init_fpu( struct task_struct *tsk );
-extern void restore_fpu( struct task_struct *tsk );
+extern void save_init_fpu( struct domain *tsk );
+extern void restore_fpu( struct domain *tsk );
#define unlazy_fpu( tsk ) do { \
- if ( test_bit(PF_USEDFPU, &tsk->flags) ) \
+ if ( test_bit(DF_USEDFPU, &tsk->flags) ) \
save_init_fpu( tsk ); \
} while (0)
#define clear_fpu( tsk ) do { \
- if ( test_and_clear_bit(PF_USEDFPU, &tsk->flags) ) { \
+ if ( test_and_clear_bit(DF_USEDFPU, &tsk->flags) ) { \
asm volatile("fwait"); \
stts(); \
} \