From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ig6WA-0003ms-Qf for qemu-devel@nongnu.org; Thu, 11 Oct 2007 18:28:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ig6W8-0003j8-2P for qemu-devel@nongnu.org; Thu, 11 Oct 2007 18:28:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ig6W7-0003iw-Qw for qemu-devel@nongnu.org; Thu, 11 Oct 2007 18:28:31 -0400 Received: from honiara.magic.fr ([195.154.193.36]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ig6W7-0005oj-7h for qemu-devel@nongnu.org; Thu, 11 Oct 2007 18:28:31 -0400 Received: from [192.168.0.2] (ppp-36.net-123.static.magiconline.fr [80.118.184.36]) by honiara.magic.fr (8.13.1/8.13.1) with ESMTP id l9BMSR0f010692 for ; Fri, 12 Oct 2007 00:28:27 +0200 Subject: [Fwd: [Qemu-devel] RFC: avoid #ifdef for target cpu list] From: "J. Mayer" Content-Type: text/plain Date: Fri, 12 Oct 2007 00:28:28 +0200 Message-Id: <1192141709.9976.241.camel@rapid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org -------- Forwarded Message -------- > From: J. Mayer > Reply-To: qemu-devel@nongnu.org > To: qemu-devel@nongnu.org > Subject: [Qemu-devel] RFC: avoid #ifdef for target cpu list > Date: Wed, 10 Oct 2007 07:14:22 +0200 > > This tiny patch unifies the -cpu ? option for all cpu that actually can > handle it. > It changes the arm_cpu_list to use the same prototype as ppc, mips and > sparc and add a new define cpu_list in target_xxx/cpu.h > As the cpu selection is not implemented for all targets, I had to > protect the call to cpu_list with a #if defined(cpu_list) that will have > to be suppressed once all target will implement this feature. > > Please comment. If there is no objection about it, I'll apply it today. -- J. Mayer Never organized