From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKNvI-0007Yx-Lp for qemu-devel@nongnu.org; Fri, 13 Sep 2013 03:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKNv8-0007ir-E7 for qemu-devel@nongnu.org; Fri, 13 Sep 2013 03:36:12 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:48549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKNv8-0007i3-5d for qemu-devel@nongnu.org; Fri, 13 Sep 2013 03:36:02 -0400 Received: by mail-la0-f44.google.com with SMTP id eo20so711087lab.3 for ; Fri, 13 Sep 2013 00:36:01 -0700 (PDT) From: Antony Pavlov Date: Fri, 13 Sep 2013 11:33:24 +0400 Message-Id: <1379057606-25727-1-git-send-email-antonynpavlov@gmail.com> Subject: [Qemu-devel] [RFC v3 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 v2: * commit messages: drop ALL 'Reviewed-by' tags. Drop Aurelien Jarno's tag because the patchseries was completely reworked, so it need additional review. 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 v3 1/2] include/qemu: introduce sizes.h [RFC v3 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.