From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKL6n-0004OL-LZ for qemu-devel@nongnu.org; Fri, 13 Sep 2013 00:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKL6f-0005hw-4U for qemu-devel@nongnu.org; Fri, 13 Sep 2013 00:35:53 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:62375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKL6e-0005ho-SO for qemu-devel@nongnu.org; Fri, 13 Sep 2013 00:35:45 -0400 Received: by mail-lb0-f173.google.com with SMTP id o14so1643329lbi.4 for ; Thu, 12 Sep 2013 21:35:43 -0700 (PDT) From: Antony Pavlov Date: Fri, 13 Sep 2013 08:33:01 +0400 Message-Id: <1379046783-19382-1-git-send-email-antonynpavlov@gmail.com> Subject: [Qemu-devel] [RFC v2 0/2] use sizes.h macros for power-of-two sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Aurelien Jarno , Stefan Weil Changes since v1: * include/sizes.h -> include/qemu/sizes.h * fix copyright header; * fix formatting: drop tabs; * use the BIT() macro, so it's easy-to-read the constants column; also the BIT() macro casts constant to UL; * rebase on updated master; * take into account the "mips_malta: support up to 2GiB RAM" commit. [RFC v2 1/2] include/qemu: introduce sizes.h [RFC v2 2/2] hw/mips: use sizes.h macros The sizes.h macros is a easy-to-read method of power-of-two memory sizes representation. The sizes.h macros are actively used in linux kernel and other projects, so let's use them in QEMU too.