qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [sh] Don't set FD bit in user mode emulation
@ 2008-12-13  0:03 Lionel Landwerlin
  2008-12-13  0:13 ` Laurent Desnogues
  2008-12-13 11:15 ` takasi-y
  0 siblings, 2 replies; 3+ messages in thread
From: Lionel Landwerlin @ 2008-12-13  0:03 UTC (permalink / raw)
  To: qemu-devel

>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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-13 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13  0:03 [Qemu-devel] [sh] Don't set FD bit in user mode emulation Lionel Landwerlin
2008-12-13  0:13 ` Laurent Desnogues
2008-12-13 11:15 ` takasi-y

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).