The sizes.h macros is an easy-to-read method of
power-of-two memory sizes representation. The sizes.h
macros are actively used in the linux kernel and other
projects, so let's use them in QEMU too.

Antony Pavlov (2):
  include/qemu: introduce sizes.h
  hw/mips: use sizes.h macros

 hw/mips/mips_malta.c   | 25 +++++++++++----------
 include/hw/mips/bios.h |  3 ++-
 include/qemu/sizes.h   | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+), 13 deletions(-)
 create mode 100644 include/qemu/sizes.h

-- 
1.8.5.2


Reply via email to