diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-01 20:31:07 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-01 20:31:07 +0000 |
commit | f8c6ff6c3cede2414da9be3e270218cdf3f8fc2c (patch) | |
tree | 494dd2384b93b841db2aa138153db55528c9806c /hw/mips_r4k.c | |
parent | 04e897efdde24155237f228ea341ddaf2bce9dc7 (diff) | |
download | qemu-f8c6ff6c3cede2414da9be3e270218cdf3f8fc2c.tar.gz qemu-f8c6ff6c3cede2414da9be3e270218cdf3f8fc2c.tar.bz2 qemu-f8c6ff6c3cede2414da9be3e270218cdf3f8fc2c.zip |
Fix initrd load address.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2281 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r-- | hw/mips_r4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index d72d768a0a..eee2970182 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -12,7 +12,7 @@ #define BIOS_FILENAME "mips_bios.bin" //#define BIOS_FILENAME "system.bin" #ifdef MIPS_HAS_MIPS64 -#define INITRD_LOAD_ADDR (int64_t)0x80800000 +#define INITRD_LOAD_ADDR (int64_t)(int32_t)0x80800000 #else #define INITRD_LOAD_ADDR (int32_t)0x80800000 #endif |