qemu/hw/mips
Philippe Mathieu-Daudé 74c02ebd80 hw/mips/malta: Restrict 'bios_size' variable scope
The 'bios_size' variable is only used in the 'if (!kernel_filename &&
!dinfo)' clause. This is the case when we don't provide -pflash command
line option, and also don't provide a -kernel option. In this case we
will check for the -bios option, or use the default BIOS_FILENAME file.

The 'bios' term is valid in this if statement, but is confuse in the
whole mips_malta_init() scope. Restrict his scope.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190308094610.21210-13-armbru@redhat.com>
2019-03-11 22:53:44 +01:00
..
addr.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
boston.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
cps.c target/mips: Update ITU to utilize SAARI and SAAR CP0 registers 2019-01-18 16:53:28 +01:00
gt64xxx_pci.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
Kconfig ptimer: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
Makefile.objs hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards 2019-02-05 16:50:19 +01:00
mips_fulong2e.c mips_fulong2e: Add on-board graphics chip 2019-03-11 08:04:55 +01:00
mips_int.c hw/mips_int: hold BQL for all interrupt requests 2019-02-14 17:47:28 +01:00
mips_jazz.c hw/mips/jazz: create ESP device directly via qdev 2018-06-28 19:05:35 +02:00
mips_malta.c hw/mips/malta: Restrict 'bios_size' variable scope 2019-03-11 22:53:44 +01:00
mips_mipssim.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00
mips_r4k.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00