[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two size
From: |
Antony Pavlov |
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 |
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
- [Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two sizes,
Antony Pavlov <=