Received: from eggs.gnu.org ([140.186.70.92]:38664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNV65-0000RT-32 for qemu-devel@nongnu.org; Fri, 20 May 2011 15:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNV63-0008HL-PC for qemu-devel@nongnu.org; Fri, 20 May 2011 15:10:53 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:36860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNV63-0008DU-B1 for qemu-devel@nongnu.org; Fri, 20 May 2011 15:10:51 -0400 Message-Id: <77BCB74E-BE17-44EF-AA56-DBCDDAFBF0F1@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <1304979326-30338-6-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 20 May 2011 21:10:47 +0200 References: <1304979326-30338-1-git-send-email-agraf@suse.de> <1304979326-30338-6-git-send-email-agraf@suse.de> Sender: andreas.faerber@web.de Subject: Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Scott Wood , "Edgar E. Iglesias" , Liu Yu , QEMU-devel Developers , Paul Brook Hey Alex, Next breakage... :( Am 10.05.2011 um 00:15 schrieb Alexander Graf: > Most of the code to support e500 style MMUs is already in place, but > we're missing on some of the special TLB0-TLB1 handling code and =20 > slightly > different TLB modification. > > This patch adds support for the FSL style MMU. > > Signed-off-by: Alexander Graf > diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h > index 2a7431c..dd2f93f 100644 > --- a/target-ppc/cpu.h > +++ b/target-ppc/cpu.h > @@ -1699,6 +1926,77 @@ static inline void cpu_set_tls(CPUState *env, =20= > target_ulong newtls) > #endif > } > > +#if !defined(CONFIG_USER_ONLY) > +static inline int booke206_tlbe_id(CPUState *env, ppcemb_tlb_t *tlbe) > +{ > + ulong tlbel =3D (ulong)tlbe; > + ulong tlbl =3D (ulong)env->tlb; CC ppc-softmmu/arch_init.o In file included from /Users/andreas/QEMU/qemu/qemu-common.h:130, from /Users/andreas/QEMU/qemu/monitor.h:4, from /Users/andreas/QEMU/qemu/arch_init.c:32: /Users/andreas/QEMU/qemu/target-ppc/cpu.h: In function =20 =91booke206_tlbe_id=92: /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1932: error: =91ulong=92 =20 undeclared (first use in this function) /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1932: error: (Each =20 undeclared identifier is reported only once /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1932: error: for each =20 function it appears in.) /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1932: error: expected =91;=92 =20= before =91tlbel=92 /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1933: error: expected =91;=92 =20= before =91tlbl=92 /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1935: error: =91tlbel=92 =20 undeclared (first use in this function) /Users/andreas/QEMU/qemu/target-ppc/cpu.h:1935: error: =91tlbl=92 =20 undeclared (first use in this function) make[1]: *** [arch_init.o] Error 1 make: *** [subdir-ppc-softmmu] Error 2 Did you mean target_ulong or unsigned long? Andreas=