Revision 1192dad8 hw/mips_malta.c
b/hw/mips_malta.c | ||
---|---|---|
791 | 791 |
|
792 | 792 |
/* Load a BIOS image unless a kernel image has been specified. */ |
793 | 793 |
if (!kernel_filename) { |
794 |
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, BIOS_FILENAME); |
|
794 |
if (bios_name == NULL) |
|
795 |
bios_name = BIOS_FILENAME; |
|
796 |
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, bios_name); |
|
795 | 797 |
ret = load_image(buf, phys_ram_base + bios_offset); |
796 | 798 |
if (ret < 0 || ret > BIOS_SIZE) { |
797 | 799 |
fprintf(stderr, |
Also available in: Unified diff