From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOGgS-0003XU-8g for qemu-devel@nongnu.org; Wed, 30 Jul 2008 14:46:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOGgR-0003Wt-OS for qemu-devel@nongnu.org; Wed, 30 Jul 2008 14:45:59 -0400 Received: from [199.232.76.173] (port=38698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOGgR-0003Wi-Gs for qemu-devel@nongnu.org; Wed, 30 Jul 2008 14:45:59 -0400 Received: from yx-out-1718.google.com ([74.125.44.153]:5765) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOGgR-0001LH-AH for qemu-devel@nongnu.org; Wed, 30 Jul 2008 14:45:59 -0400 Received: by yx-out-1718.google.com with SMTP id 3so49300yxi.82 for ; Wed, 30 Jul 2008 11:45:57 -0700 (PDT) Message-ID: Date: Wed, 30 Jul 2008 21:45:57 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Mac OS X PPC host support (was: [4932] Preliminary PPC64/Linux host support) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0D03767C-CA27-40D9-B390-04F6BECC9603@web.de> <9ABED4D6-5AFB-44D4-A1F6-A86B5E139543@web.de> 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 On 7/29/08, malc wrote: > I have made a stab at making it work and tried it on MacOS X (Tiger) that > i have here, for Sparc it progress a bit further but still meets it's doom > shortly: > > qemu: fatal: Trap 0x29 while interrupts disabled, Error state > pc: ffd04020 npc: ffd04024 > General Registers: > %g0: 00000000 %g1: 00000000 %g2: ffd908e0 %g3: ffd00000 > %g4: ffd83038 %g5: 00000001 %g6: 00000000 %g7: 00000000 > Current Register Window: > %o0: 00000000 %o1: 00000000 %o2: 00000000 %o3: 00000000 > %o4: 00000000 %o5: 00000000 %o6: ffdd3fa0 %o7: 00000000 > %l0: 00000000 %l1: 00000000 %l2: 00000000 %l3: 00000000 > %l4: 00000000 %l5: 00000000 %l6: 00000000 %l7: 00000000 > %i0: 00000000 %i1: 00000000 %i2: 00000000 %i3: 00000000 > %i4: 00000000 %i5: 00000000 %i6: 00000000 %i7: 00000000 > > Floating Point Registers: > [all bit zero FPRs snipped] > psr: 0x04001fc0 -> ---- SP- wim: 0x00000001 > fsr: 0x00080000 > > BlueSwirl, rings any bells? 29 is Data Access Exception, raised from unassigned memory access. The code is 0xffd04020: std %l0, [ %sp ] which is a double word store. Address in %sp (%o6, 0xffdd3fa0) is OK. So I'd check if qemu_st64 generates correct code.