OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2e5c5
)
PPC: e500: dt: use target_phys_addr_t for ramsize
author
Alexander Graf
<agraf@suse.de>
Fri, 18 May 2012 00:14:46 +0000
(
02:14
+0200)
committer
Alexander Graf
<agraf@suse.de>
Sat, 23 Jun 2012 23:04:49 +0000
(
01:04
+0200)
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 <agraf@suse.de>
hw/ppce500_mpc8544ds.c
patch
|
blob
|
history
diff --git
a/hw/ppce500_mpc8544ds.c
b/hw/ppce500_mpc8544ds.c
index
5fa2089
..
f8a3d9a
100644
(file)
--- 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)