From: Ben Taylor <sol10x86@cox.net>
To: Qemu-devel@nongnu.org
Subject: [Qemu-devel] PATCH: allow Sparc hosts to run arm/mips/sparc-softmmu
Date: Tue, 13 Mar 2007 10:01:37 -0400 [thread overview]
Message-ID: <7605281.1173794497806.JavaMail.root@eastrmwml08.mgt.cox.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
This patch fixes crashes when testing with arm-test-0.2.tar.gz and mips-test-0.2.tar.gz.
Without the patch, both arm-test and mips-test segfault when trying to boot.
The original patch was authored by Martin Bochnig.
[-- Attachment #2: qemu-sparc-cpuexec-c.diff --]
[-- Type: text/x-patch, Size: 570 bytes --]
--- qemu/cpu-exec.c.ORIG 2007-03-13 09:46:51.940624000 -0400
+++ qemu/cpu-exec.c 2007-03-13 09:33:34.130534000 -0400
@@ -738,7 +744,10 @@
#else
gen_func();
#endif
+/* sparc hosts don't seem to like this method very much */
+#if !(defined(__sparc__) && !defined(TARGET_I386) && !defined(TARGET_X86_64) && !defined(TARGET_PPC))
env->current_tb = NULL;
+#endif
/* reset soft MMU for next block (it can currently
only be set by a memory fault) */
#if defined(TARGET_I386) && !defined(CONFIG_SOFTMMU)
next reply other threads:[~2007-03-13 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 14:01 Ben Taylor [this message]
2007-03-13 14:08 ` [Qemu-devel] PATCH: allow Sparc hosts to run arm/mips/sparc-softmmu Paul Brook
-- strict thread matches above, loose matches on Subject: below --
2007-03-13 14:25 Ben Taylor
2007-03-13 14:57 ` Paul Brook
2007-03-15 16:22 ` Rob Landley
2007-03-15 16:50 Ben Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7605281.1173794497806.JavaMail.root@eastrmwml08.mgt.cox.net \
--to=sol10x86@cox.net \
--cc=Qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).