diff options
Diffstat (limited to 'target/tricore')
| -rw-r--r-- | target/tricore/cpu.c | 2 | ||||
| -rw-r--r-- | target/tricore/cpu.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c index 95202fadbf..eb794674c8 100644 --- a/target/tricore/cpu.c +++ b/target/tricore/cpu.c @@ -168,7 +168,7 @@ static const struct SysemuCPUOps tricore_sysemu_ops = { .get_phys_page_debug = tricore_cpu_get_phys_page_debug, }; -#include "hw/core/tcg-cpu-ops.h" +#include "accel/tcg/cpu-ops.h" static const TCGCPUOps tricore_tcg_ops = { .initialize = tricore_tcg_init, diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h index 8e431d7922..cf9dbc6df8 100644 --- a/target/tricore/cpu.h +++ b/target/tricore/cpu.h @@ -26,6 +26,10 @@ #include "qemu/cpu-float.h" #include "tricore-defs.h" +#ifdef CONFIG_USER_ONLY +#error "TriCore does not support user mode emulation" +#endif + typedef struct CPUArchState { /* GPR Register */ uint32_t gpr_a[16]; |