From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IavGB-0000gx-TN for qemu-devel@nongnu.org; Thu, 27 Sep 2007 11:26:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IavGA-0000g5-CB for qemu-devel@nongnu.org; Thu, 27 Sep 2007 11:26:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IavGA-0000g1-4G for qemu-devel@nongnu.org; Thu, 27 Sep 2007 11:26:38 -0400 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IavG9-00027w-IW for qemu-devel@nongnu.org; Thu, 27 Sep 2007 11:26:37 -0400 Date: Thu, 27 Sep 2007 16:26:35 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] qemu linux-user/qemu.h linux-user/signal.c linu... Message-ID: <20070927152635.GB13317@networkno.de> References: <1190902080.29748.2.camel@jma4.dev.netgem.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1190902080.29748.2.camel@jma4.dev.netgem.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jocelyn Mayer Cc: qemu-devel@nongnu.org Jocelyn Mayer wrote: > On Thu, 2007-09-27 at 13:57 +0000, Thiemo Seufer wrote: > > CVSROOT: /sources/qemu > > Module name: qemu > > Changes by: Thiemo Seufer 07/09/27 13:57:58 > > > > Modified files: > > linux-user : qemu.h signal.c syscall.c > > target-alpha : cpu.h > > target-arm : cpu.h > > target-i386 : cpu.h > > target-mips : cpu.h > > target-ppc : cpu.h > > static inline target_ulong get_sp_from_cpustate(CPUPPCState *state) > { > return state->gpr[1]; > } > > This is no way related to CPU emulation then has nothing to do in cpu.h. Agreed, it should be confined to the linux-user implementation. > Furthermore, there no notion of sigaltstack or even stack pointer in the > PowerPC specification. You would need to look in the Linux PPC ABI for that. Thiemo