diff options
author | Richard Henderson <rth@twiddle.net> | 2014-09-13 09:45:26 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-09-25 18:54:22 +0100 |
commit | 87afe467e276f9a9cad2ad610d3d330da7fc7fd3 (patch) | |
tree | 9b9d15cd88d7686233c14f7d048414961e0d19b4 /cpu-exec.c | |
parent | e8925712e6dbf45dd68c86a1e9025ce12bf18aef (diff) | |
download | qemu-87afe467e276f9a9cad2ad610d3d330da7fc7fd3.zip qemu-87afe467e276f9a9cad2ad610d3d330da7fc7fd3.tar.gz qemu-87afe467e276f9a9cad2ad610d3d330da7fc7fd3.tar.bz2 |
target-sparc: Use cpu_exec_interrupt qom hook
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-id: 1410626734-3804-16-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -546,22 +546,6 @@ int cpu_exec(CPUArchState *env) next_tb = 0; } } -#elif defined(TARGET_SPARC) - if (interrupt_request & CPU_INTERRUPT_HARD) { - if (cpu_interrupts_enabled(env) && - env->interrupt_index > 0) { - int pil = env->interrupt_index & 0xf; - int type = env->interrupt_index & 0xf0; - - if (((type == TT_EXTINT) && - cpu_pil_allowed(env, pil)) || - type != TT_EXTINT) { - cpu->exception_index = env->interrupt_index; - cc->do_interrupt(cpu); - next_tb = 0; - } - } - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, |