Received: from eggs.gnu.org ([140.186.70.92]:37012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3y2-0006nH-PH for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt3xo-0000Ha-2K for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:18 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:40185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3xn-0000H3-Tb for qemu-devel@nongnu.org; Thu, 02 Feb 2012 16:13:04 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 6698D728009B for ; Thu, 2 Feb 2012 22:13:01 +0100 (CET) Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JlzDmxhMrlqn for ; Thu, 2 Feb 2012 22:13:00 +0100 (CET) From: Stefan Weil Date: Thu, 2 Feb 2012 22:12:42 +0100 Message-Id: <1328217177-32745-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 00/15] Clean some includes and definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I tried to move the definition of HOST_LONG_BITS from configure to qemu-common.h. While doing this, I noticed that the different QEMU targets use includes in non-uniform ways. So the simple goal resulted in quite a lot of patches. Patch 1 simply removes a derived macro. This patch is independent of the others. The next patches try to implement a more uniform include scheme for the TCG targets than today: * cpu.h always starts with config.h and qemu-common.h. * config.h is not needed before cpu.h * qemu-common.h is not needed after cpu.h. * Standard includes are not needed because they are already in qemu-common.h This also avoids potential errors when qemu-common.h is included without a preceding config.h. Future code changes should be easier as soon as all targets use a uniform include scheme. The last patch finally achieves my initial goal. Regards, Stefan Weil [PATCH 01/15] Remove macro HOST_LONG_SIZE [PATCH 02/15] target-alpha: Clean includes [PATCH 03/15] target-arm: Clean includes [PATCH 04/15] target-cris: Clean includes [PATCH 05/15] target-i386: Clean includes [PATCH 06/15] target-lm32: Clean includes [PATCH 07/15] target-m68k: Clean includes [PATCH 08/15] target-microblaze: Clean includes [PATCH 09/15] target-mips: Clean includes [PATCH 10/15] target-ppc: Clean includes [PATCH 11/15] target-s390x: Clean includes [PATCH 12/15] target-sh4: Clean includes [PATCH 13/15] target-unicore32: Clean includes [PATCH 14/15] target-xtensa: Clean includes [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h