From patchwork Thu Jul 5 17:00:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 169230 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 062DF2C0205 for ; Fri, 6 Jul 2012 03:26:54 +1000 (EST) Received: from localhost ([::1]:35134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmppL-0002Yb-Q3 for incoming@patchwork.ozlabs.org; Thu, 05 Jul 2012 13:26:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smpp9-0002PT-S6 for qemu-devel@nongnu.org; Thu, 05 Jul 2012 13:26:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smpp6-0003Pz-JL for qemu-devel@nongnu.org; Thu, 05 Jul 2012 13:26:39 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:60875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smpp6-0003PM-CV for qemu-devel@nongnu.org; Thu, 05 Jul 2012 13:26:36 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SmpQC-0005lo-Oz; Thu, 05 Jul 2012 18:00:52 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Thu, 5 Jul 2012 18:00:47 +0100 Message-Id: <1341507652-22155-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1341507652-22155-1-git-send-email-peter.maydell@linaro.org> References: <1341507652-22155-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: Peter Crosthwaite , patches@linaro.org Subject: [Qemu-devel] [PATCH 1/6] hw/arm_boot.c: Make ram_size a target_phys_addr_t X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Make the RAM size in arm_boot_info a target_phys_addr_t so it can express RAM sizes up to the limit imposed by the physical address size. Signed-off-by: Peter Maydell Reviewed-by: Peter A. G. Crosthwaite --- hw/arm-misc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/arm-misc.h b/hw/arm-misc.h index 1f96229..c313027 100644 --- a/hw/arm-misc.h +++ b/hw/arm-misc.h @@ -25,7 +25,7 @@ qemu_irq *armv7m_init(MemoryRegion *address_space_mem, /* arm_boot.c */ struct arm_boot_info { - int ram_size; + target_phys_addr_t ram_size; const char *kernel_filename; const char *kernel_cmdline; const char *initrd_filename;