aboutsummaryrefslogtreecommitdiff
path: root/target-i386/helper.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-04-29 17:54:21 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-08-14 19:01:25 +0000
commit608badfc660b1c4d20e67a64b639c7bcd2d5ba16 (patch)
treed1e35ca0f6026be0b35c4b69f6135d543afe7892 /target-i386/helper.h
parent052e80d5e026a5414a02d5d979c37521eb33e07d (diff)
downloadqemu-608badfc660b1c4d20e67a64b639c7bcd2d5ba16.zip
qemu-608badfc660b1c4d20e67a64b639c7bcd2d5ba16.tar.gz
qemu-608badfc660b1c4d20e67a64b639c7bcd2d5ba16.tar.bz2
x86: avoid AREG0 for SMM helpers
Add an explicit CPUX86State parameter instead of relying on AREG0. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/helper.h')
-rw-r--r--target-i386/helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.h b/target-i386/helper.h
index 601b8dd..ec7edca 100644
--- a/target-i386/helper.h
+++ b/target-i386/helper.h
@@ -71,7 +71,7 @@ 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_0(rsm, void)
+DEF_HELPER_1(rsm, void, env)
DEF_HELPER_1(into, void, int)
DEF_HELPER_1(cmpxchg8b, void, tl)
#ifdef TARGET_X86_64