From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 6/9] cpu-exec: unify do_interrupt call
Date: Mon, 20 Jun 2011 00:00:05 +0300 [thread overview]
Message-ID: <BANLkTinmyA_oCVR0zGaQpHzsByJjVVymPw@mail.gmail.com> (raw)
Now that all targets use common function signature for do_interrupt(),
there is no
need for the #ifdeffery anymore.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
cpu-exec.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index 64203b3..fb5ad58 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -272,33 +272,7 @@ int cpu_exec(CPUState *env1)
ret = env->exception_index;
break;
#else
-#if defined(TARGET_I386)
- do_interrupt(env);
-#elif defined(TARGET_PPC)
- do_interrupt(env);
-#elif defined(TARGET_LM32)
- do_interrupt(env);
-#elif defined(TARGET_MICROBLAZE)
- do_interrupt(env);
-#elif defined(TARGET_MIPS)
- do_interrupt(env);
-#elif defined(TARGET_SPARC)
- do_interrupt(env);
-#elif defined(TARGET_ARM)
do_interrupt(env);
-#elif defined(TARGET_UNICORE32)
- do_interrupt(env);
-#elif defined(TARGET_SH4)
- do_interrupt(env);
-#elif defined(TARGET_ALPHA)
- do_interrupt(env);
-#elif defined(TARGET_CRIS)
- do_interrupt(env);
-#elif defined(TARGET_M68K)
- do_interrupt(env);
-#elif defined(TARGET_S390X)
- do_interrupt(env);
-#endif
env->exception_index = -1;
#endif
}
--
1.6.2.4
next reply other threads:[~2011-06-19 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 21:00 Blue Swirl [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-22 11:13 [Qemu-devel] [PATCH 6/9] cpu-exec: unify do_interrupt call Blue Swirl
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=BANLkTinmyA_oCVR0zGaQpHzsByJjVVymPw@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@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).