mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 22:10:33 +00:00
PPC: e500: dt: use target_phys_addr_t for ramsize
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>
This commit is contained in:
parent
1d2e5c5235
commit
7f47b41f3f
@ -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,
|
static int mpc8544_load_device_tree(CPUPPCState *env,
|
||||||
target_phys_addr_t addr,
|
target_phys_addr_t addr,
|
||||||
uint32_t ramsize,
|
target_phys_addr_t ramsize,
|
||||||
target_phys_addr_t initrd_base,
|
target_phys_addr_t initrd_base,
|
||||||
target_phys_addr_t initrd_size,
|
target_phys_addr_t initrd_size,
|
||||||
const char *kernel_cmdline)
|
const char *kernel_cmdline)
|
||||||
|
Loading…
Reference in New Issue
Block a user