From patchwork Tue Jun 5 23:53:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [23/31] PPC: e500: dt: use target_phys_addr_t for ramsize X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 163221 Message-Id: <1338940402-28502-24-git-send-email-agraf@suse.de> To: "qemu-devel@nongnu.org Developers" Cc: qemu-ppc Mailing List Date: Wed, 6 Jun 2012 01:53:14 +0200 From: Alexander Graf List-Id: We're passing the ram size as uint32_t, capping it to 32 bits atm. Change to target_phys_addr_t (uint64_t) to make sure we have all the bits. Signed-off-by: Alexander Graf --- hw/ppce500_mpc8544ds.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index f856944..aa9bbd5 100644 --- a/hw/ppce500_mpc8544ds.c +++ b/hw/ppce500_mpc8544ds.c @@ -85,7 +85,7 @@ static void pci_map_create(void *fdt, uint32_t *pci_map, uint32_t mpic) static int mpc8544_load_device_tree(CPUPPCState *env, target_phys_addr_t addr, - uint32_t ramsize, + target_phys_addr_t ramsize, target_phys_addr_t initrd_base, target_phys_addr_t initrd_size, const char *kernel_cmdline)