aboutsummaryrefslogtreecommitdiff
path: root/target-cris/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-18 19:59:39 +0100
committerAndreas Färber <afaerber@suse.de>2013-04-16 02:45:11 +0200
commitb21bfeead284cf212d88dfa25171fee122407bc2 (patch)
treef8f2f7897d9dcf6201c7b337af39938b32453ab0 /target-cris/cpu-qom.h
parenta7ddba527c0b9dd32dfa7e35fa41701f990a3db4 (diff)
target-cris: Override do_interrupt for pre-v32 CPU cores
Instead of forwarding from cris_cpu_do_interrupt() to do_interruptv10(), override CPUClass::do_interrupt with crisv10_cpu_do_interrupt() in the newly introduced class_init functions. Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris/cpu-qom.h')
-rw-r--r--target-cris/cpu-qom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/cpu-qom.h b/target-cris/cpu-qom.h
index deea1d804b..03829bd243 100644
--- a/target-cris/cpu-qom.h
+++ b/target-cris/cpu-qom.h
@@ -74,5 +74,6 @@ static inline CRISCPU *cris_env_get_cpu(CPUCRISState *env)
#define ENV_OFFSET offsetof(CRISCPU, env)
void cris_cpu_do_interrupt(CPUState *cpu);
+void crisv10_cpu_do_interrupt(CPUState *cpu);
#endif