mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/mips: Use the IEC binary prefix definitions
It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20180625124238.25339-31-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
27773d8eee
commit
be01029e5d
7 changed files with 33 additions and 24 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "qemu/units.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define BIOS_SIZE (4 * 1024 * 1024)
|
||||
#define BIOS_SIZE (4 * MiB)
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
#define BIOS_FILENAME "mips_bios.bin"
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue