hw/riscv: Use the IEC binary prefix definitions
commit4bf46af78b7ce205f8ce1d75b70c95d7726e0a7d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:08 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:13 +0000 (2 15:41 +0200)
treee8e5c939e2c133da506eec1e8d54262a205b4f90
parentde9b602ebd7c3a2e22b79114478d1a3c43bdfb4f
hw/riscv: 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>
Reviewed-by: Michael Clark <mjc@sifive.com>
Message-Id: <20180625124238.25339-17-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/riscv/virt.c