mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target-tricore: Add target stubs and qom-cpu
Add TriCore target stubs, and QOM cpu, and Maintainer Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-id: 1409572800-4116-2-git-send-email-kbastian@mail.uni-paderborn.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5cd1475d28
commit
48e06fe0ed
15 changed files with 943 additions and 1 deletions
11
cpu-exec.c
11
cpu-exec.c
|
@ -387,6 +387,7 @@ int cpu_exec(CPUArchState *env)
|
|||
#elif defined(TARGET_CRIS)
|
||||
#elif defined(TARGET_S390X)
|
||||
#elif defined(TARGET_XTENSA)
|
||||
#elif defined(TARGET_TRICORE)
|
||||
/* XXXXX */
|
||||
#else
|
||||
#error unsupported target CPU
|
||||
|
@ -444,7 +445,8 @@ int cpu_exec(CPUArchState *env)
|
|||
}
|
||||
#if defined(TARGET_ARM) || defined(TARGET_SPARC) || defined(TARGET_MIPS) || \
|
||||
defined(TARGET_PPC) || defined(TARGET_ALPHA) || defined(TARGET_CRIS) || \
|
||||
defined(TARGET_MICROBLAZE) || defined(TARGET_LM32) || defined(TARGET_UNICORE32)
|
||||
defined(TARGET_MICROBLAZE) || defined(TARGET_LM32) || \
|
||||
defined(TARGET_UNICORE32) || defined(TARGET_TRICORE)
|
||||
if (interrupt_request & CPU_INTERRUPT_HALT) {
|
||||
cpu->interrupt_request &= ~CPU_INTERRUPT_HALT;
|
||||
cpu->halted = 1;
|
||||
|
@ -560,6 +562,12 @@ int cpu_exec(CPUArchState *env)
|
|||
cc->do_interrupt(cpu);
|
||||
next_tb = 0;
|
||||
}
|
||||
#elif defined(TARGET_TRICORE)
|
||||
if ((interrupt_request & CPU_INTERRUPT_HARD)) {
|
||||
cc->do_interrupt(cpu);
|
||||
next_tb = 0;
|
||||
}
|
||||
|
||||
#elif defined(TARGET_OPENRISC)
|
||||
{
|
||||
int idx = -1;
|
||||
|
@ -846,6 +854,7 @@ int cpu_exec(CPUArchState *env)
|
|||
| env->cc_dest | (env->cc_x << 4);
|
||||
#elif defined(TARGET_MICROBLAZE)
|
||||
#elif defined(TARGET_MIPS)
|
||||
#elif defined(TARGET_TRICORE)
|
||||
#elif defined(TARGET_MOXIE)
|
||||
#elif defined(TARGET_OPENRISC)
|
||||
#elif defined(TARGET_SH4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue