hw/ppc: Use the IEC binary prefix definitions
commitab3dd74924162f5a462b5c6514c34d918922d0fb
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:24 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:16 +0000 (2 15:41 +0200)
tree518038e64a343a1a802cf932c0256e90a69ce27f
parentbe01029e5df7c98cd4917fc8fe24845e0bed25f0
hw/ppc: 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>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20180625124238.25339-33-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
20 files changed:
hw/nvram/spapr_nvram.c
hw/pci-host/prep.c
hw/ppc/e500.c
hw/ppc/e500plat.c
hw/ppc/mac.h
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_bamboo.c
hw/ppc/ppc4xx_devs.c
hw/ppc/ppce500_spin.c
hw/ppc/prep.c
hw/ppc/rs6000_mc.c
hw/ppc/sam460ex.c
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
hw/ppc/virtex_ml507.c
include/hw/ppc/spapr.h
target/ppc/mmu_helper.c