From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uogno-0003py-Ba for qemu-devel@nongnu.org; Mon, 17 Jun 2013 17:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uognn-0008R6-GK for qemu-devel@nongnu.org; Mon, 17 Jun 2013 17:17:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33343 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uognn-0008Qy-AE for qemu-devel@nongnu.org; Mon, 17 Jun 2013 17:17:27 -0400 Message-ID: <51BF7CE5.4080308@suse.de> Date: Mon, 17 Jun 2013 23:17:25 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1371398269-6213-1-git-send-email-afaerber@suse.de> <1371398269-6213-27-git-send-email-afaerber@suse.de> <51BF7AD8.2000301@twiddle.net> In-Reply-To: <51BF7AD8.2000301@twiddle.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom-cpu v2 26/29] intc/sh_intc: Build sh_intc only once List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org Am 17.06.2013 23:08, schrieb Richard Henderson: > On 06/16/2013 08:57 AM, Andreas F=C3=A4rber wrote: >> Since converting first_cpu to CPUState and making CPU_INTERRUPT_HARD >> available through qom/cpu.h, it no longer depends on CPUSH4State. >=20 > Re 25/, how is CPU_INTERRUPT_HARD any less target dependent than > CPU_INTERRUPT_TGT_EXT_0? Both require knowledge of how the system deli= vers > interrupts. CPU_INTERRUPT_HARD is semantically well-defined for all targets, whereas CPU_INTERRUPT_TGT_{INT,EXT}_* can mean pretty much anything. That said, I don't insist on this patch. It compiles the file one time less than without but still rebuilds whenever I change qom/cpu.h. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg