From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CizbS-00032E-CG for qemu-devel@nongnu.org; Mon, 27 Dec 2004 13:28:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CizbR-00031v-OM for qemu-devel@nongnu.org; Mon, 27 Dec 2004 13:28:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CizbR-00031j-Iz for qemu-devel@nongnu.org; Mon, 27 Dec 2004 13:28:21 -0500 Received: from [213.228.0.80] (helo=postfix2-c.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CizQZ-0003uN-Ff for qemu-devel@nongnu.org; Mon, 27 Dec 2004 13:17:07 -0500 Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by postfix2-c.free.fr (Postfix) with ESMTP id E04349D1E96 for ; Mon, 27 Dec 2004 19:17:06 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <200412251348.iBPDmcF8014321@sakura.ninth-nine.com> References: <9D2757F0-5608-11D9-B8FF-00039307264A@stanfordalumni.org> <200412251348.iBPDmcF8014321@sakura.ninth-nine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <48E4DAC2-5821-11D9-B8FF-00039307264A@cs.stanford.edu> Content-Transfer-Encoding: quoted-printable From: Laurent Amon Subject: Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support Date: Mon, 27 Dec 2004 17:06:36 +0100 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Norikatsu Shigemura , qemu-devel@nongnu.org On 25 d=E9c. 04, at 14:48, Norikatsu Shigemura wrote: > On Sat, 25 Dec 2004 01:04:58 +0100 > Laurent Amon wrote: >> On 20 dec. 04, at 18:55, Magnus Damm wrote: >>> This patch adds powerpc host support to the CONFIG_MMU_MAP patch >>> written by Piotrek. My patch should be applied on top of >>> v1-part[1-3].patch.gz. I have only tested the code with a x86 guest=20= >>> on >>> a ppc host running Linux - someone, please test on a host running=20 >>> OSX. >> Hi, >> On a first try, it doesn't compile on OSX 10.3.7, with gcc version = 3.3 >> 20030304 (Apple Computer, Inc. build 1495). I'll try to look why >> another time. > > Humm.. I think that 'struct ucontext' should be changed > to 'ucontext_t'. ucontext_t isn't necessarily struct > ucontext. But... I don't know how to fix following > problem. > Actually, I just included sys/signal.h and I passed this hurdle. However, I have a lot of assembly error when compiling op.c, and I=20 suspect it may be caused by the asm code Magnus added in his ppc patch.=20= I'm even more out of my depth than usual here. Magnus, for which=20 PowerPC did you write the code? I have a 7410 G4(TiBook/400). Using Norikatsu's extra patch gives exactly the same error, so I'll=20 reverse-patch for now. This is a excerpt of the errors I get : /var/tmp//ccrclido.s:6176:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6176:Invalid mnemonic 'ha' /var/tmp//ccrclido.s:6177:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6178:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6178:Invalid mnemonic 'l' /var/tmp//ccrclido.s:6179:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6180:Parameter syntax error (parameter 3) /var/tmp//ccrclido.s:6198:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6198:Invalid mnemonic 'ha' /var/tmp//ccrclido.s:6199:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6200:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6200:Invalid mnemonic 'l' /var/tmp//ccrclido.s:6201:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6202:Parameter syntax error (parameter 1) /var/tmp//ccrclido.s:6203:Parameter syntax error (parameter 2) [repeat...] Season's Greetings, Lga.