hw/sparc: Use the IEC binary prefix definitions
commit0a2e467bcebfed27bd0d1cd17992938e8a3fbb66
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:10 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:14 +0000 (2 15:41 +0200)
tree437e4ce2982c9073170feed9f6527ebe933e434f
parent4dab9c731cd930419bfec83207fcf725f8738804
hw/sparc: 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/

and modified manually.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180625124238.25339-19-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/sparc/leon3.c
hw/sparc/sun4m.c
hw/sparc64/niagara.c
hw/sparc64/sun4u.c