OSDN Git Service

hw/misc: Use the IEC binary prefix definitions
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:07 +0000 (09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:13 +0000 (15:41 +0200)
commitde9b602ebd7c3a2e22b79114478d1a3c43bdfb4f
treeb9b4cd37bdd1030cbafb6a0a62ff561802065b9c
parentf0353b0d10dcb2a58372fe70af09c09195ec6098
hw/misc: 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-16-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/auxbus.c
hw/misc/edu.c