mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
MIPS: fix fulong bios loading
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
aa8f40090a
commit
33dd298323
1 changed files with 5 additions and 6 deletions
|
@ -256,7 +256,6 @@ static void mips_fulong2e_init(ram_addr_t ram_size, const char *boot_device,
|
|||
const char *initrd_filename, const char *cpu_model)
|
||||
{
|
||||
char *filename;
|
||||
char buf[1024];
|
||||
unsigned long ram_offset, bios_offset;
|
||||
unsigned long bios_size;
|
||||
int64_t kernel_entry;
|
||||
|
@ -324,7 +323,7 @@ static void mips_fulong2e_init(ram_addr_t ram_size, const char *boot_device,
|
|||
}
|
||||
|
||||
if ((bios_size < 0 || bios_size > BIOS_SIZE) && !kernel_filename) {
|
||||
fprintf(stderr, "qemu: Could not load MIPS bios '%s'\n", buf);
|
||||
fprintf(stderr, "qemu: Could not load MIPS bios '%s'\n", bios_name);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue