]> Git Repo - qemu.git/commitdiff
fixed user mode emulation
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Sep 2006 21:31:59 +0000 (21:31 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Sep 2006 21:31:59 +0000 (21:31 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2184 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper.c

index 4017bee79c301aacd749ee89e66455d8babb2f1b..c2b5e11001524fd964d29f09259f0600b55a9966 100644 (file)
@@ -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 */
This page took 0.033821 seconds and 4 git commands to generate.