summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d')
-rw-r--r--emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d23
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d b/emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d
new file mode 100644
index 000000000000..dc8c1e695d26
--- /dev/null
+++ b/emulators/qemu-devel/files/extra-patch-22aae36fc2227aa772ebbc701f45319464ecae4d
@@ -0,0 +1,23 @@
+From 22aae36fc2227aa772ebbc701f45319464ecae4d Mon Sep 17 00:00:00 2001
+From: Sean Bruno <sbruno@crack.ysv.freebsd.org>
+Date: Sat, 29 Nov 2014 23:02:36 +0000
+Subject: [PATCH] Change UX/AWRAP to allow compile. Probably, this is part of
+ the problem
+
+---
+ bsd-user/mips64/target_arch_cpu.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bsd-user/mips64/target_arch_cpu.h b/bsd-user/mips64/target_arch_cpu.h
+index f4e212f..0619f5b 100644
+--- a/bsd-user/mips64/target_arch_cpu.h
++++ b/bsd-user/mips64/target_arch_cpu.h
+@@ -42,7 +42,7 @@ static inline void target_cpu_init(CPUMIPSState *env,
+ if (regs->cp0_epc & 1) {
+ env->hflags |= MIPS_HFLAG_M16;
+ }
+- env->hflags |= MIPS_HFLAG_UX | MIPS_HFLAG_64;
++ env->hflags |= MIPS_HFLAG_AWRAP | MIPS_HFLAG_64;
+ }
+
+ static int do_store_exclusive(CPUMIPSState *env)