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/misc_helper.c | |
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/misc_helper.c')
-rw-r--r-- | target-i386/misc_helper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-i386/misc_helper.c b/target-i386/misc_helper.c index 154601b..a020379 100644 --- a/target-i386/misc_helper.c +++ b/target-i386/misc_helper.c @@ -21,6 +21,10 @@ #include "ioport.h" #include "helper.h" +#if !defined(CONFIG_USER_ONLY) +#include "softmmu_exec.h" +#endif /* !defined(CONFIG_USER_ONLY) */ + /* check if Port I/O is allowed in TSS */ static inline void check_io(CPUX86State *env, int addr, int size) { |