]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sparc64/sun4u.c
sparc64: fix initrd loading
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 12 May 2012 17:20:52 +0000 (17:20 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 May 2012 15:39:04 +0000 (15:39 +0000)
commit5f2bf0fe55b32a1258fbe468bd23fd9f5e2272dd
treea1a6dc5569e59b4352177c995e8643deae789871
parenta28853871d6ef5ec4afe810a43fdde859dfdaa7e
sparc64: fix initrd loading

Initrd load address is too low, it conflicts with kernel load
address:
rom: requested regions overlap (rom phdr #0: /tmp/vmlinux-debian-6.0.4-sparc64. free=0x0000000000742519, addr=0x0000000000400000)
rom loading failed

Fix by making the initrd address variable, load initrd after kernel
image. Use 64 bit variables instead of longs or 32 bit types.

Tested-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sun4u.c