diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-04-29 20:35:48 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-14 19:01:26 +0000 |
commit | 92fc4b586f8856ee9f2bad31fb6e9acd80fa8319 (patch) | |
tree | add284b2ae2940660bba95458e18ce807ae09799 /target-i386/helper.h | |
parent | 2999a0b20074a7e4a58f56572bb1436749368f59 (diff) | |
download | qemu-92fc4b586f8856ee9f2bad31fb6e9acd80fa8319.zip qemu-92fc4b586f8856ee9f2bad31fb6e9acd80fa8319.tar.gz qemu-92fc4b586f8856ee9f2bad31fb6e9acd80fa8319.tar.bz2 |
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 <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/helper.h')
-rw-r--r-- | target-i386/helper.h | 8 |
1 files changed, 4 insertions, 4 deletions
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) |