From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UljQv-0002NZ-P4 for qemu-devel@nongnu.org; Sun, 09 Jun 2013 13:29:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UljQu-0008V4-Vw for qemu-devel@nongnu.org; Sun, 09 Jun 2013 13:29:37 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:57865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UljQu-0008Us-PI for qemu-devel@nongnu.org; Sun, 09 Jun 2013 13:29:36 -0400 Received: by mail-la0-f44.google.com with SMTP id er20so5066719lab.3 for ; Sun, 09 Jun 2013 10:29:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1370794247-28267-19-git-send-email-afaerber@suse.de> References: <1370794247-28267-1-git-send-email-afaerber@suse.de> <1370794247-28267-19-git-send-email-afaerber@suse.de> From: Peter Maydell Date: Sun, 9 Jun 2013 18:29:15 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom-cpu v4 18/18] memory_mapping: Build only once List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: qiaonuohan@cn.fujitsu.com, qemu-devel@nongnu.org, lcapitulino@redhat.com On 9 June 2013 17:10, Andreas F=C3=A4rber wrote: > Move RAMBlock, RAMList and ram_list to exec/cpu-common.h since they do > not depend on CPUArchState. We can then use it together with qom/cpu.h > to replace cpu.h and exec/cpu-all.h includes, making it fully > target-independent. Messing directly with RAMBlocks is (or should be) limited to pretty small amounts of the codebase, so maybe it's worth putting these structs in their own header in include/exec which only gets pulled in by the code that really needs it? thanks -- PMM