Commit 1fc2244d authored by bellard's avatar bellard
Browse files

mips bios loading fix

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent d3079cd2
......@@ -214,14 +214,10 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
run. */
bios_offset = ram_size + vga_ram_size;
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, BIOS_FILENAME);
printf("%s: load BIOS '%s' size %d\n", __func__, buf, BIOS_SIZE);
ret = load_image(buf, phys_ram_base + bios_offset);
if (ret == BIOS_SIZE) {
BIOS_SIZE, bios_offset | IO_MEM_ROM);
env->PC = 0xBFC00000;
if (!kernel_filename)
} else {
/* not fatal */
fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment