openbsd-ports/emulators/qemu-old/patches/patch-target-i386_helper2_c
2010-05-27 17:33:42 +00:00

22 lines
766 B
Plaintext

$OpenBSD: patch-target-i386_helper2_c,v 1.1.1.1 2010/05/27 17:33:43 fgsch Exp $
--- target-i386/helper2.c.orig Sun Jan 6 14:38:45 2008
+++ target-i386/helper2.c Tue Apr 1 01:49:51 2008
@@ -133,7 +133,7 @@ typedef struct x86_def_t {
CPUID_PAT | CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2 | \
CPUID_PAE | CPUID_SEP | CPUID_APIC)
static x86_def_t x86_defs[] = {
-#ifdef TARGET_X86_64
+/* #ifdef TARGET_X86_64 -- You must enable it for Mac OS X x86 */
{
.name = "qemu64",
.level = 2,
@@ -154,7 +154,7 @@ static x86_def_t x86_defs[] = {
.ext3_features = CPUID_EXT3_SVM,
.xlevel = 0x8000000A,
},
-#endif
+/* #endif -- To run Mac OS X x86 */
{
.name = "qemu32",
.level = 2,