From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmnIW-0008MT-Qr for qemu-devel@nongnu.org; Sun, 04 Jun 2006 03:45:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmnIT-0008KO-QW for qemu-devel@nongnu.org; Sun, 04 Jun 2006 03:45:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmnIT-0008KL-LZ for qemu-devel@nongnu.org; Sun, 04 Jun 2006 03:45:17 -0400 Received: from [212.8.0.13] (helo=rosi.naasa.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FmnPL-0004jG-DO for qemu-devel@nongnu.org; Sun, 04 Jun 2006 03:52:23 -0400 From: Joerg Platte Subject: Re: [Qemu-devel] RTC fix/Sparc32 Date: Sun, 4 Jun 2006 09:45:07 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_E+ogEYHRlCishrV" Message-Id: <200606040945.08308.lists@naasa.net> Reply-To: jplatte@naasa.net, 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 Cc: paul@codesourcery.com --Boundary-00=_E+ogEYHRlCishrV Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Samstag, 3. Juni 2006 22:02 schrieb Blue Swirl: Hi! > I installed Debian 3.1r1 from scratch using the system emulator, OpenBI= OS, > and CD image. Network is not working and some programs segfault, otherw= ise > everything works well. Did you apply the attached FPU patch I posted one week ago as well? With = this=20 patch and your patches all programs I tested did not segfault any longer. regards, J=F6rg --Boundary-00=_E+ogEYHRlCishrV Content-Type: text/x-diff; charset="iso-8859-15"; name="qemu-sparc-fpu-pc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="qemu-sparc-fpu-pc.patch" --- translate.c 2005-11-22 00:33:12.000000000 +0100 +++ translate.c.new 2006-05-22 20:40:07.000000000 +0200 @@ -982,6 +982,7 @@ { int cc = GET_FIELD_SP(insn, 20, 21); #if !defined(CONFIG_USER_ONLY) + save_state(dc); gen_op_trap_ifnofpu(); #endif target = GET_FIELD_SP(insn, 0, 18); @@ -1002,6 +1003,7 @@ case 0x6: /* FBN+x */ { #if !defined(CONFIG_USER_ONLY) + save_state(dc); gen_op_trap_ifnofpu(); #endif target = GET_FIELD(insn, 10, 31); @@ -1236,6 +1238,7 @@ #endif } else if (xop == 0x34) { /* FPU Operations */ #if !defined(CONFIG_USER_ONLY) + save_state(dc); gen_op_trap_ifnofpu(); #endif rs1 = GET_FIELD(insn, 13, 17); @@ -1424,6 +1427,7 @@ int cond; #endif #if !defined(CONFIG_USER_ONLY) + save_state(dc); gen_op_trap_ifnofpu(); #endif rs1 = GET_FIELD(insn, 13, 17); @@ -2346,6 +2350,7 @@ #endif } else if (xop >= 0x20 && xop < 0x24) { #if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64) + save_state(dc); gen_op_trap_ifnofpu(); #endif switch (xop) { --Boundary-00=_E+ogEYHRlCishrV--