diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-09-27 21:31:59 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-09-27 21:31:59 +0000 |
commit | 74ce674fa856b37bf3ff46bff2c7a4a49810ed80 (patch) | |
tree | 35252eff7d473019d02d6d89023d92f5cc1cc365 /target-i386 | |
parent | 8988ae8945f93049a0e416600d928a7b4ce8446f (diff) | |
download | qemu-74ce674fa856b37bf3ff46bff2c7a4a49810ed80.tar.gz qemu-74ce674fa856b37bf3ff46bff2c7a4a49810ed80.tar.bz2 qemu-74ce674fa856b37bf3ff46bff2c7a4a49810ed80.zip |
fixed user mode emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2184 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 4017bee79c..c2b5e11001 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1217,6 +1217,18 @@ void raise_exception(int exception_index) /* SMM support */ +#if defined(CONFIG_USER_ONLY) + +void do_smm_enter(void) +{ +} + +void helper_rsm(void) +{ +} + +#else + #ifdef TARGET_X86_64 #define SMM_REVISION_ID 0x00020064 #else @@ -1483,6 +1495,9 @@ void helper_rsm(void) } } +#endif /* !CONFIG_USER_ONLY */ + + #ifdef BUGGY_GCC_DIV64 /* gcc 2.95.4 on PowerPC does not seem to like using __udivdi3, so we call it from another function */ |