projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1de61
)
Allow arbitrary MIPS BIOS sizes between 0 and 4 MB, by Stefan Weil.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 Feb 2007 22:32:19 +0000
(22:32 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 Feb 2007 22:32:19 +0000
(22:32 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2446
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/mips_malta.c
patch
|
blob
|
history
diff --git
a/hw/mips_malta.c
b/hw/mips_malta.c
index 97431b1e62ec0c40ab97452d76948f4aee6ce6a1..03db2f8a6cb157c285b1a5f8c503c8e56ff88254 100644
(file)
--- a/
hw/mips_malta.c
+++ b/
hw/mips_malta.c
@@
-533,7
+533,7
@@
void mips_malta_init (int ram_size, int vga_ram_size, int boot_device,
} else {
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, BIOS_FILENAME);
ret = load_image(buf, phys_ram_base + bios_offset);
- if (ret
!=
BIOS_SIZE) {
+ if (ret
< 0 || ret >
BIOS_SIZE) {
fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
buf);
exit(1);