- add configure option --enable-mmx in configure.in. I didn't bother
to diff configure...you'll have to run autoconf yourself. - in config.h.in set BX_SUPPORT_MMX to 0, not 1. The configure script will replace it with a 1 if appropriate. That's the way all other options are done. - you need to use patch -p1 for this
This commit is contained in:
parent
db239afdcf
commit
20bd8507af
@ -1,7 +1,7 @@
|
||||
----------------------------------------------------------------------
|
||||
Patch name: bochs-1.4.1-mmx.patch-endian-support
|
||||
Author: Stanislav Shwartsman
|
||||
Date: 01/09/2002
|
||||
Date: September 1, 2002
|
||||
|
||||
Detailed description: MMX instruction set support.
|
||||
Also supports BIG_ENDIAN systems. Tested on Solaris and HP1100.
|
||||
@ -12,8 +12,35 @@ Apply patch to what version:
|
||||
cvs checked out on DATE, release version VER
|
||||
Instructions:
|
||||
To patch, go to main bochs directory.
|
||||
Type "patch -p0 < THIS_PATCH_FILE".
|
||||
Type "patch -p1 < THIS_PATCH_FILE".
|
||||
----------------------------------------------------------------------
|
||||
diff -r -u -N bochs-1.4.1/configure.in bochs-1.4.1-mmx-release-endian/configure.in
|
||||
--- bochs-1.4.1/configure.in 2002-06-24 00:19:42.000000000 +0200
|
||||
+++ bochs-1.4.1-mmx-release-endian/configure.in 2002-08-25 13:41:34.000000000 +0200
|
||||
@@ -799,6 +800,23 @@
|
||||
[
|
||||
AC_MSG_RESULT(no)
|
||||
AC_DEFINE(BX_SUPPORT_VBE, 0)
|
||||
+ ]
|
||||
+ )
|
||||
+
|
||||
+AC_MSG_CHECKING(for MMX support)
|
||||
+AC_ARG_ENABLE(mmx,
|
||||
+ [ --enable-mmx compile in MMX emulation],
|
||||
+ [if test "$enableval" = yes; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ AC_DEFINE(BX_SUPPORT_MMX, 1)
|
||||
+ elif test "$enableval" = no; then
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ AC_DEFINE(BX_SUPPORT_MMX, 0)
|
||||
+ fi
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ AC_DEFINE(BX_SUPPORT_MMX, 0)
|
||||
]
|
||||
)
|
||||
|
||||
diff -r -u -N bochs-1.4.1/config.h.in bochs-1.4.1-mmx-release-endian/config.h.in
|
||||
--- bochs-1.4.1/config.h.in 2002-06-24 00:19:42.000000000 +0200
|
||||
+++ bochs-1.4.1-mmx-release-endian/config.h.in 2002-08-25 13:41:34.000000000 +0200
|
||||
@ -21,7 +48,7 @@ diff -r -u -N bochs-1.4.1/config.h.in bochs-1.4.1-mmx-release-endian/config.h.in
|
||||
#define BX_DYNAMIC_CPU_SPARC 0
|
||||
|
||||
#define BX_SUPPORT_FPU 0
|
||||
+#define BX_SUPPORT_MMX 1
|
||||
+#define BX_SUPPORT_MMX 0
|
||||
|
||||
#define BX_HAVE_GETENV 0
|
||||
#define BX_HAVE_SELECT 0
|
||||
|
Loading…
Reference in New Issue
Block a user