From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EAZkp-0007SH-J8 for qemu-devel@nongnu.org; Wed, 31 Aug 2005 17:04:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EAZkl-0007Of-Ny for qemu-devel@nongnu.org; Wed, 31 Aug 2005 17:04:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAZki-0007Ln-W7 for qemu-devel@nongnu.org; Wed, 31 Aug 2005 17:04:13 -0400 Received: from [62.210.190.9] (helo=brazzaville.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EAZf9-0000Nv-OI for qemu-devel@nongnu.org; Wed, 31 Aug 2005 16:58:28 -0400 Subject: Re: [Qemu-devel] Re: usermode emulation for ppc host From: "J. Mayer" In-Reply-To: <69304d11050831084045e358fb@mail.gmail.com> References: <69304d1105083010422547ea5f@mail.gmail.com> <69304d11050831084045e358fb@mail.gmail.com> Content-Type: text/plain Date: Wed, 31 Aug 2005 22:55:13 +0200 Message-Id: <1125521713.12403.0.camel@rapid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Wed, 2005-08-31 at 17:40 +0200, Antonio Vargas wrote: > On 8/30/05, Antonio Vargas wrote: > > Having a look at the sources, I've noticed that extra ppc registers > > are only used when doing usermode-inly emulation and not when doing > > fullsystem-mode. Can anyone tell me where should I look for problems > > when disabling that restriction? I've already tried to enable the use > > of these registers but of course it's there for some reason as it > > doesn't boot anything when I enable them. > > OK.. more inspection has revealed ppc/op_helper.c which states: > > "XXX: fix it to restore all registers" > > looks like registers could be smashed when entering it and not being > saved/restored by gcc??? will have to find out more... Do you mean PPC host or target ? target-ppc subdirectory is used when emulating a PowerPC, that is for PPC target. If you really talk about PowerPC host emulation, not PowerPC target, then target-ppc subdirectory code is not concerned. -- J. Mayer Never organized