From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Htijs-00067F-LQ for qemu-devel@nongnu.org; Thu, 31 May 2007 07:22:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Htijr-00066k-Qe for qemu-devel@nongnu.org; Thu, 31 May 2007 07:22:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Htijr-00066e-Hb for qemu-devel@nongnu.org; Thu, 31 May 2007 07:22:43 -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 1Htijr-00054H-36 for qemu-devel@nongnu.org; Thu, 31 May 2007 07:22:43 -0400 Date: Thu, 31 May 2007 12:22:41 +0100 Subject: Re: [Qemu-devel] [PATCH] mips-linux-user errno mapping Message-ID: <20070531112241.GE28232@networkno.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stuart Anderson Cc: qemu-devel@nongnu.org Stuart Anderson wrote: > > The linux user code was completely missing the ability to map errnos > from the host to the target. This patch adds this ability, with the > mapping needed for MIPS. With this patch, an appreciable number of the > tests in LTP now PASS (remaining failures are due to other bugs not yet > fixed). > > > Stuart > > Stuart R. Anderson anderson@netsweng.com > Network & Software Engineering http://www.netsweng.com/ > 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F > BD03 0A62 E534 37A7 9149 Content-Description: errno mapping patch > Index: qemu/linux-user/errno_defs.h > =================================================================== > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > +++ qemu/linux-user/errno_defs.h 2007-05-30 13:29:13.000000000 -0400 > @@ -0,0 +1,143 @@ > +#warning "errno_defs" Please clean up the compiler warnings. This one ist just the most obvious, I also see many more of the form: In file included from /home/ths/qemu/qemu-work/linux-user/qemu.h:11, from /home/ths/qemu/qemu-work/exec.c:38: /home/ths/qemu/qemu-work/linux-user/mips/syscall.h:92:1: warning: "TARGET_ECONNABORTED" redefined In file included from /home/ths/qemu/qemu-work/linux-user/syscall_defs.h:1620, from /home/ths/qemu/qemu-work/linux-user/qemu.h:8, from /home/ths/qemu/qemu-work/exec.c:38: /home/ths/qemu/qemu-work/linux-user/errno_defs.h:110:1: warning: this is the location of the previous definition Thiemo