From 92fc4b586f8856ee9f2bad31fb6e9acd80fa8319 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 29 Apr 2012 20:35:48 +0000 Subject: x86: switch to AREG0 free mode Add an explicit CPUX86State parameter instead of relying on AREG0. Remove temporary wrappers and switch to AREG0 free mode. Signed-off-by: Blue Swirl --- target-i386/fpu_helper.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target-i386/fpu_helper.c') diff --git a/target-i386/fpu_helper.c b/target-i386/fpu_helper.c index a1d7ef7934..dfc34a6253 100644 --- a/target-i386/fpu_helper.c +++ b/target-i386/fpu_helper.c @@ -21,6 +21,10 @@ #include "cpu.h" #include "helper.h" +#if !defined(CONFIG_USER_ONLY) +#include "softmmu_exec.h" +#endif /* !defined(CONFIG_USER_ONLY) */ + #define FPU_RC_MASK 0xc00 #define FPU_RC_NEAR 0x000 #define FPU_RC_DOWN 0x400 -- cgit v1.2.3