Changes since v1:

 * include/sizes.h -> include/qemu/sizes.h
 * fix copyright header;
 * fix formatting: drop tabs;
 * use the BIT() macro, so it's easy-to-read the constants column;
   also the BIT() macro casts constant to UL;
 * rebase on updated master;
  * take into account the "mips_malta: support up to 2GiB RAM" commit.

[RFC v2 1/2] include/qemu: introduce sizes.h
[RFC v2 2/2] hw/mips: use sizes.h macros

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

Reply via email to