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: 9858 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A072523E1B for ; Thu, 5 Jul 2012 17:00:55 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7134DA1894E for ; Thu, 5 Jul 2012 17:00:55 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so8256960ggn.11 for ; Thu, 05 Jul 2012 10:00:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Vy6lvqqxqMHvP5jHOmpJONtXK5jP5gEPqDV7DyZpezU=; b=fQ8ZLpcwCnrkCm8XrU/0G3hIzqeJTH4B1kZwGrziiYoBb/0k73tFeUKUuZscgQOxnv ZdVWHrhWqR684iGg8LIBiY7UNkqd458KlF/GOsD6+r4jFVLRboHvSkHNTW5XmT2KrT6w JLzulS5CArGHgweEI0qw3ZDLrkswbC9q6ivT9dcWhoZu0Qiusc6sodGkLR+9FM4KgqPe xVmDrYiAGOxwVb5+eV16OPYvdzmQ8NigOoezsyxILrNJMC7COLcF+QEBcnJNIjiZoB2O A44KnxDwRZzE6kYPyKj3brH/ySBkfVlzdB79ArToTB2/tpEwA74qMXiZ5rwPikXwgmup 0A+Q== Received: by 10.50.87.227 with SMTP id bb3mr300405igb.57.1341507655000; Thu, 05 Jul 2012 10:00:55 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp68389ibb; Thu, 5 Jul 2012 10:00:54 -0700 (PDT) Received: by 10.217.0.69 with SMTP id k47mr4526906wes.14.1341507653954; Thu, 05 Jul 2012 10:00:53 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id cw6si1225016wib.12.2012.07.05.10.00.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 10:00:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk 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 Cc: patches@linaro.org, Peter Crosthwaite Subject: [PATCH 1/6] hw/arm_boot.c: Make ram_size a target_phys_addr_t 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-Gm-Message-State: ALoCoQnFSOBxAKiM8XEG/cpR2zElmLz/ac8EGgoxY0Q5f6CoFn9SDtnJO/PWqhw5Ad27lTb5DqwJ 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;