From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBHz0-0002Jf-0w for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:03:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBHyw-0002JN-UC for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:03:44 -0500 Received: from [199.232.76.173] (port=38755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBHyw-0002JJ-Q5 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:03:42 -0500 Received: from soufre.accelance.net ([213.162.48.15]:61090) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBHyv-000661-Ey for qemu-devel@nongnu.org; Fri, 12 Dec 2008 19:03:42 -0500 Received: from [192.168.0.3] (potipota.net [88.168.176.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soufre.accelance.net (Postfix) with ESMTP id 28B7645098 for ; Sat, 13 Dec 2008 01:03:32 +0100 (CET) From: Lionel Landwerlin Content-Type: text/plain Date: Sat, 13 Dec 2008 01:03:30 +0100 Message-Id: <1229126610.3898.45.camel@cocoduo.atr> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [sh] Don't set FD bit in user mode emulation Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org >>From 1823395215d00c436f91b218f15797e918659f20 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin 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 --- 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