qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two sizes
@ 2014-01-13 20:23 Antony Pavlov
  2014-01-13 20:23 ` [Qemu-devel] [PATCH RESEND 1/2] include/qemu: introduce sizes.h Antony Pavlov
  2014-01-13 20:23 ` [Qemu-devel] [PATCH RESEND 2/2] hw/mips: use sizes.h macros Antony Pavlov
  0 siblings, 2 replies; 4+ messages in thread
From: Antony Pavlov @ 2014-01-13 20:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Antony Pavlov, Andreas Färber, Aurelien Jarno,
	Richard Henderson

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-13 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 20:23 [Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two sizes Antony Pavlov
2014-01-13 20:23 ` [Qemu-devel] [PATCH RESEND 1/2] include/qemu: introduce sizes.h Antony Pavlov
2014-01-13 20:23 ` [Qemu-devel] [PATCH RESEND 2/2] hw/mips: use sizes.h macros Antony Pavlov
2014-01-13 20:25   ` Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).