From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkYkv-0000OJ-VJ for qemu-devel@nongnu.org; Thu, 06 Jun 2013 07:53:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkYku-0006jC-70 for qemu-devel@nongnu.org; Thu, 06 Jun 2013 07:53:25 -0400 Message-ID: <51B0761F.6010502@suse.de> Date: Thu, 06 Jun 2013 13:44:31 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1369590093-9086-1-git-send-email-guerr@julio.in> In-Reply-To: <1369590093-9086-1-git-send-email-guerr@julio.in> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] e600 core for MPC86xx processors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julio Guerra Cc: Scott Wood , Stuart Yoder , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf Am 26.05.2013 19:41, schrieb Julio Guerra: > MPC86xx processors are based on the e600 core, which is not the case > in qemu where it is based on the 7400 processor. >=20 > This patch creates the e600 core and instantiates the MPC86xx > processors based on it. Therefore, adding the high BATs and the SPRG > 4..7 registers, which are e600-specific [1]. >=20 > This allows to define the MPC8610 processor too and my program running > on a real MPC8610 target is now able to run on qemu :) >=20 > [1] http://cache.freescale.com/files/32bit/doc/ref_manual/E600CORERM.pd= f >=20 > Signed-off-by: Julio Guerra > --- > target-ppc/cpu-models.c | 10 ++-- > target-ppc/cpu-models.h | 4 +- > target-ppc/translate_init.c | 122 ++++++++++++++++++++++++++++++++++++= ++++++++ > 3 files changed, 127 insertions(+), 9 deletions(-) >>From a technical (QOM) view this patch looks fine. However I can't judge whether all that code is right for e600 and whether you may want to share some code with e500 / e5500 in some way? CC'ing some Freescale folks. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg