From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: [Qemu-devel] [PATCH] arch_init: Setting QEMU_ARCH enum straight
Date: Mon, 8 Sep 2014 13:30:57 +0100 [thread overview]
Message-ID: <1410179457-19737-1-git-send-email-kbastian@mail.uni-paderborn.de> (raw)
Every QEMU_ARCH is now hexadecimal instead of a mixture of decimal and hexadecimal.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
---
include/sysemu/arch_init.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h
index 8939233..e1ec025 100644
--- a/include/sysemu/arch_init.h
+++ b/include/sysemu/arch_init.h
@@ -5,21 +5,21 @@
#include "qemu/option.h"
enum {
- QEMU_ARCH_ALL = -1,
- QEMU_ARCH_ALPHA = 1,
- QEMU_ARCH_ARM = 2,
- QEMU_ARCH_CRIS = 4,
- QEMU_ARCH_I386 = 8,
- QEMU_ARCH_M68K = 16,
- QEMU_ARCH_LM32 = 32,
- QEMU_ARCH_MICROBLAZE = 64,
- QEMU_ARCH_MIPS = 128,
- QEMU_ARCH_PPC = 256,
- QEMU_ARCH_S390X = 512,
- QEMU_ARCH_SH4 = 1024,
- QEMU_ARCH_SPARC = 2048,
- QEMU_ARCH_XTENSA = 4096,
- QEMU_ARCH_OPENRISC = 8192,
+ QEMU_ARCH_ALL = -0x1,
+ QEMU_ARCH_ALPHA = 0x1,
+ QEMU_ARCH_ARM = 0x2,
+ QEMU_ARCH_CRIS = 0x4,
+ QEMU_ARCH_I386 = 0x8,
+ QEMU_ARCH_M68K = 0x10,
+ QEMU_ARCH_LM32 = 0x20,
+ QEMU_ARCH_MICROBLAZE = 0x40,
+ QEMU_ARCH_MIPS = 0x80,
+ QEMU_ARCH_PPC = 0x100,
+ QEMU_ARCH_S390X = 0x200,
+ QEMU_ARCH_SH4 = 0x400,
+ QEMU_ARCH_SPARC = 0x800,
+ QEMU_ARCH_XTENSA = 0x1000,
+ QEMU_ARCH_OPENRISC = 0x2000,
QEMU_ARCH_UNICORE32 = 0x4000,
QEMU_ARCH_MOXIE = 0x8000,
QEMU_ARCH_TRICORE = 0x10000,
--
2.1.0
next reply other threads:[~2014-09-08 11:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 12:30 Bastian Koppelmann [this message]
2014-09-15 13:03 ` [Qemu-devel] [Qemu-trivial] [PATCH] arch_init: Setting QEMU_ARCH enum straight Michael Tokarev
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=1410179457-19737-1-git-send-email-kbastian@mail.uni-paderborn.de \
--to=kbastian@mail.uni-paderborn.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/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).