qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/3] target-unicore32: remove cpu_halted()
@ 2011-04-12 22:31 Aurelien Jarno
  2011-04-12 22:31 ` [Qemu-devel] [PATCH 2/3] target-unicore32: move FPU helpers to op_helper.c Aurelien Jarno
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Aurelien Jarno @ 2011-04-12 22:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: Guan Xuetao, Aurelien Jarno

cpu_halted() has been removed on all targets in commit
eda48c344f35e5bd511dea3e8be56fb08c19b399. Also remove it on unicore32.

Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 target-unicore32/exec.h |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/target-unicore32/exec.h b/target-unicore32/exec.h
index 4ab55f4..498df23 100644
--- a/target-unicore32/exec.h
+++ b/target-unicore32/exec.h
@@ -32,19 +32,4 @@ static inline int cpu_has_work(CPUState *env)
         (CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB);
 }
 
-static inline int cpu_halted(CPUState *env)
-{
-    if (!env->halted) {
-        return 0;
-    }
-    /* An interrupt wakes the CPU even if the I and R ASR bits are
-       set.  We use EXITTB to silently wake CPU without causing an
-       actual interrupt.  */
-    if (cpu_has_work(env)) {
-        env->halted = 0;
-        return 0;
-    }
-    return EXCP_HALTED;
-}
-
 #endif /* __UC32_EXEC_H__ */
-- 
1.7.2.3

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

end of thread, other threads:[~2011-04-13  6:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 22:31 [Qemu-devel] [PATCH 1/3] target-unicore32: remove cpu_halted() Aurelien Jarno
2011-04-12 22:31 ` [Qemu-devel] [PATCH 2/3] target-unicore32: move FPU helpers to op_helper.c Aurelien Jarno
2011-04-12 22:31 ` [Qemu-devel] [PATCH 3/3] target-unicore32: mark a few helpers const + pure Aurelien Jarno
2011-04-13  6:03   ` Guan Xuetao
2011-04-13  5:42 ` [Qemu-devel] [PATCH 1/3] target-unicore32: remove cpu_halted() Guan Xuetao

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).