Commit 1fc2244d8779378e89184554c8f6f0bd3bfe8e0f
1 parent
d3079cd2
mips bios loading fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1913 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
0 additions
and
4 deletions
hw/mips_r4k.c
@@ -214,14 +214,10 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device, | @@ -214,14 +214,10 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device, | ||
214 | run. */ | 214 | run. */ |
215 | bios_offset = ram_size + vga_ram_size; | 215 | bios_offset = ram_size + vga_ram_size; |
216 | snprintf(buf, sizeof(buf), "%s/%s", bios_dir, BIOS_FILENAME); | 216 | snprintf(buf, sizeof(buf), "%s/%s", bios_dir, BIOS_FILENAME); |
217 | - printf("%s: load BIOS '%s' size %d\n", __func__, buf, BIOS_SIZE); | ||
218 | ret = load_image(buf, phys_ram_base + bios_offset); | 217 | ret = load_image(buf, phys_ram_base + bios_offset); |
219 | if (ret == BIOS_SIZE) { | 218 | if (ret == BIOS_SIZE) { |
220 | cpu_register_physical_memory((uint32_t)(0x1fc00000), | 219 | cpu_register_physical_memory((uint32_t)(0x1fc00000), |
221 | BIOS_SIZE, bios_offset | IO_MEM_ROM); | 220 | BIOS_SIZE, bios_offset | IO_MEM_ROM); |
222 | - env->PC = 0xBFC00000; | ||
223 | - if (!kernel_filename) | ||
224 | - return; | ||
225 | } else { | 221 | } else { |
226 | /* not fatal */ | 222 | /* not fatal */ |
227 | fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n", | 223 | fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n", |