qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [sh] Don't set FD bit in user mode emulation
Date: Sat, 13 Dec 2008 01:03:30 +0100	[thread overview]
Message-ID: <1229126610.3898.45.camel@cocoduo.atr> (raw)

>From 1823395215d00c436f91b218f15797e918659f20 Mon Sep 17 00:00:00 2001
From: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Date: Fri, 12 Dec 2008 09:55:32 +0100
Subject: [PATCH] [sh] Don't set FD bit in user mode emulation

      This causes qemu to exist very early (before libc initialization)

Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
---
 target-sh4/translate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index d6cfb7c..287b4a3 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -184,7 +184,7 @@ void cpu_dump_state(CPUState * env, FILE * f,
 static void cpu_sh4_reset(CPUSH4State * env)
 {
 #if defined(CONFIG_USER_ONLY)
-    env->sr = SR_FD;            /* FD - kernel does lazy fpu context switch */
+    /* env->sr = SR_FD; */            /* FD - kernel does lazy fpu context switch */
 #else
     env->sr = 0x700000F0;	/* MD, RB, BL, I3-I0 */
 #endif
-- 
1.5.6.5

             reply	other threads:[~2008-12-13  0:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13  0:03 Lionel Landwerlin [this message]
2008-12-13  0:13 ` [Qemu-devel] [sh] Don't set FD bit in user mode emulation Laurent Desnogues
2008-12-13 11:15 ` takasi-y

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=1229126610.3898.45.camel@cocoduo.atr \
    --to=lionel.landwerlin@openwide.fr \
    --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).