qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Antony Pavlov" <antonynpavlov@gmail.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Richard Henderson" <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two sizes
Date: Tue, 14 Jan 2014 00:23:30 +0400	[thread overview]
Message-ID: <1389644612-4963-1-git-send-email-antonynpavlov@gmail.com> (raw)

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	other threads:[~2014-01-13 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 20:23 Antony Pavlov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389644612-4963-1-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=afaerber@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).