mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Allow arbitrary MIPS BIOS sizes between 0 and 4 MB, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2446 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user