From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV1JY-0002Vt-QX for qemu-devel@nongnu.org; Wed, 24 Apr 2013 11:09:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV1JT-00038I-Ek for qemu-devel@nongnu.org; Wed, 24 Apr 2013 11:08:56 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47136 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV1JT-00034L-5x for qemu-devel@nongnu.org; Wed, 24 Apr 2013 11:08:51 -0400 Message-ID: <5177F56A.7020608@suse.de> Date: Wed, 24 Apr 2013 17:08:26 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1366812990.35903.YahooMailNeo@web162905.mail.bf1.yahoo.com> In-Reply-To: <1366812990.35903.YahooMailNeo@web162905.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] target-tilera - a new emulated architecture in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sarmad Tanwir Cc: Blue Swirl , qemu devel , Aurelien Jarno Hi, Am 24.04.2013 16:16, schrieb Sarmad Tanwir: > =20 >> I am in process of adding a new target architecture named Tilera to >> qemu for emulation purpose. Until now, I have been working offline >> i.e. without submitting any patches or any comments from the community= . >> =20 >> I am almost done with definition of processor state and ISA >> translation (except floating point instructions). >> >> I have a new folder named target-tilera with a list of files:- >> =20 >> cpu-qom.h >> cpu.c >> cpu.h >> .... >> tile-desc_64.c >> tile-desc_64.h >> translate.c >> >> The contents of the Makefile.objs in this directory have also been >> changed to:- >> obj-$(CONFIG_SOFTMMU) +=3D machine.o >> obj-y +=3D translate.o helper.o cpu.o >> obj-y +=3D tile-desc_32.o tile-desc_64.o >> =20 >> *Can anyone help me from here? As, a first step I need to modify the >> configure script and the Makefiles to use the qemu build system.* Please read the comments in the list archive that other recently introduced targets such as moxie and openrisc got. For instance, I pointed out that new targets don't need a qom-cpu.h file - you can just place everything into cpu.h if you do a sane grouping. There was a discussion about CPU VMState and the plan to handle it differently for new targets - moxie still used the old way, openrisc is broken, and we don't have patches for a new VMSTATE_CPU() macro yet that alpha, openrisc and new targets were envisioned to use. Either way machine.c is a bad name and should rather be cpu-vmstate.c (if you can't just place it into cpu.c - depends on how much state you have). Without seeing what you have, it's hard to help. Just look at commits that introduced the existing targets, get target-tilera compiling and post RFC patches for review then. We're currently in Soft Freeze before the 1.5 release, so new targets won't get applied immediately anyway. 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