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/helper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target-i386/helper.h') diff --git a/target-i386/helper.h b/target-i386/helper.h index 0f02103..ab6af63 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -69,13 +69,13 @@ DEF_HELPER_1(cli, void, env) DEF_HELPER_1(sti, void, env) DEF_HELPER_1(set_inhibit_irq, void, env) DEF_HELPER_1(reset_inhibit_irq, void, env) -DEF_HELPER_2(boundw, void, tl, int) -DEF_HELPER_2(boundl, void, tl, int) +DEF_HELPER_3(boundw, void, env, tl, int) +DEF_HELPER_3(boundl, void, env, tl, int) DEF_HELPER_1(rsm, void, env) DEF_HELPER_2(into, void, env, int) -DEF_HELPER_1(cmpxchg8b, void, tl) +DEF_HELPER_2(cmpxchg8b, void, env, tl) #ifdef TARGET_X86_64 -DEF_HELPER_1(cmpxchg16b, void, tl) +DEF_HELPER_2(cmpxchg16b, void, env, tl) #endif DEF_HELPER_1(single_step, void, env) DEF_HELPER_1(cpuid, void, env) -- cgit v1.1