[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [CFT PATCH 02/12] cris, microblaze: use cpu_has_work
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [CFT PATCH 02/12] cris, microblaze: use cpu_has_work |
Date: |
Tue, 8 Feb 2011 20:42:57 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Feb 08, 2011 at 06:18:19PM +0100, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <address@hidden>
Thanks, I've applied this one.
Cheers
> ---
> target-cris/exec.h | 4 +---
> target-microblaze/exec.h | 4 +---
> 2 files changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/target-cris/exec.h b/target-cris/exec.h
> index 93ce768..34c0132 100644
> --- a/target-cris/exec.h
> +++ b/target-cris/exec.h
> @@ -37,9 +37,7 @@ static inline int cpu_halted(CPUState *env) {
> if (!env->halted)
> return 0;
>
> - /* IRQ, NMI and GURU execeptions wakes us up. */
> - if (env->interrupt_request
> - & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)) {
> + if (cpu_has_work(env)) {
> env->halted = 0;
> return 0;
> }
> diff --git a/target-microblaze/exec.h b/target-microblaze/exec.h
> index 87b2494..ab19828 100644
> --- a/target-microblaze/exec.h
> +++ b/target-microblaze/exec.h
> @@ -36,9 +36,7 @@ static inline int cpu_halted(CPUState *env) {
> if (!env->halted)
> return 0;
>
> - /* IRQ, NMI and GURU execeptions wakes us up. */
> - if (env->interrupt_request
> - & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)) {
> + if (cpu_has_work(env)) {
> env->halted = 0;
> return 0;
> }
> --
> 1.7.3.5
>
>
>
- [Qemu-devel] [CFT PATCH 08/12] do not use timedwait on qemu_halt_cond, (continued)
- [Qemu-devel] [CFT PATCH 08/12] do not use timedwait on qemu_halt_cond, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 11/12] do not use timedwait on qemu_cpu_cond, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 07/12] always signal pause_cond after stopping a VCPU, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 01/12] io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 03/12] inline cpu_halted into sole caller, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 09/12] do not use timedwait on qemu_system_cond, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 12/12] iothread stops the vcpu thread via IPI, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 02/12] cris, microblaze: use cpu_has_work, Paolo Bonzini, 2011/02/08
- Re: [Qemu-devel] [CFT PATCH 02/12] cris, microblaze: use cpu_has_work,
Edgar E. Iglesias <=
- [Qemu-devel] [CFT PATCH 06/12] exit round-robin vcpu loop if cpu->stopped is true, Paolo Bonzini, 2011/02/08
- Re: [Qemu-devel] [CFT PATCH 00/12] Tricky parts of my iothread-for-win32 stuff, Aurelien Jarno, 2011/02/08
- [Qemu-devel] [CFT PATCH 10/12] do not use timedwait on qemu_pause_cond, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 04/12] change qemu_thread_equal API to always compare with current thread, Paolo Bonzini, 2011/02/08
- [Qemu-devel] [CFT PATCH 05/12] always qemu_cpu_kick after unhalting a cpu, Paolo Bonzini, 2011/02/08