fixed kqemu config

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1289 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-02-12 18:58:00 +00:00
parent 580a5e27c6
commit 824d560f09
2 changed files with 4 additions and 3 deletions

4
configure vendored
View File

@ -195,6 +195,7 @@ if test "$mingw32" = "yes" ; then
EXESUF=".exe" EXESUF=".exe"
gdbstub="no" gdbstub="no"
oss="no" oss="no"
kqemu="no"
fi fi
if test -z "$target_list" ; then if test -z "$target_list" ; then
@ -609,6 +610,9 @@ if test "$target_cpu" = "i386" ; then
echo "TARGET_ARCH=i386" >> $config_mak echo "TARGET_ARCH=i386" >> $config_mak
echo "#define TARGET_ARCH \"i386\"" >> $config_h echo "#define TARGET_ARCH \"i386\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h echo "#define TARGET_I386 1" >> $config_h
if test $kqemu = "yes" -a "$target_softmmu" = "yes" ; then
echo "#define USE_KQEMU 1" >> $config_h
fi
elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
echo "TARGET_ARCH=arm" >> $config_mak echo "TARGET_ARCH=arm" >> $config_mak
echo "#define TARGET_ARCH \"arm\"" >> $config_h echo "#define TARGET_ARCH \"arm\"" >> $config_h

View File

@ -39,9 +39,6 @@
#if defined(__i386__) && !defined(CONFIG_SOFTMMU) #if defined(__i386__) && !defined(CONFIG_SOFTMMU)
#define USE_CODE_COPY #define USE_CODE_COPY
#endif #endif
#if defined(CONFIG_KQEMU) && defined(__linux__) && defined(CONFIG_SOFTMMU) && defined(__i386__) && !defined(TARGET_X86_64)
#define USE_KQEMU
#endif
#define R_EAX 0 #define R_EAX 0
#define R_ECX 1 #define R_ECX 1