diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-02 19:15:48 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-02 19:15:48 +0000 |
commit | 0bd5f4ce3b5c95cbcddef6c14776bdb950070c3f (patch) | |
tree | ad81a51249e00bbce2978ad0246a55495291674b /hw/sun4m.c | |
parent | 2857068eb1f7098d1af15d715c92fcd4e29d274f (diff) |
Fix kernel loading
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3314 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r-- | hw/sun4m.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c index a76c53b28b..76b0e7ee8f 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -440,7 +440,8 @@ static void sun4m_load_kernel(long vram_size, int RAM_size, int boot_device, kernel_size = 0; if (linux_boot) { - kernel_size = load_elf(kernel_filename, -0xf0000000, NULL, NULL, NULL); + kernel_size = load_elf(kernel_filename, -0xf0000000ULL, NULL, NULL, + NULL); if (kernel_size < 0) kernel_size = load_aout(kernel_filename, phys_ram_base + KERNEL_LOAD_ADDR); if (kernel_size < 0) |