提交 74ce674f 编写于 作者: B bellard

fixed user mode emulation


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2184 c046a42c-6fe2-441c-8c8c-71466251a162
上级 8988ae89
...@@ -1217,6 +1217,18 @@ void raise_exception(int exception_index) ...@@ -1217,6 +1217,18 @@ void raise_exception(int exception_index)
/* SMM support */ /* SMM support */
#if defined(CONFIG_USER_ONLY)
void do_smm_enter(void)
{
}
void helper_rsm(void)
{
}
#else
#ifdef TARGET_X86_64 #ifdef TARGET_X86_64
#define SMM_REVISION_ID 0x00020064 #define SMM_REVISION_ID 0x00020064
#else #else
...@@ -1483,6 +1495,9 @@ void helper_rsm(void) ...@@ -1483,6 +1495,9 @@ void helper_rsm(void)
} }
} }
#endif /* !CONFIG_USER_ONLY */
#ifdef BUGGY_GCC_DIV64 #ifdef BUGGY_GCC_DIV64
/* gcc 2.95.4 on PowerPC does not seem to like using __udivdi3, so we /* gcc 2.95.4 on PowerPC does not seem to like using __udivdi3, so we
call it from another function */ call it from another function */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册