summary refs log tree commit diff stats
path: root/target/tricore/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/tricore/cpu.h')
-rw-r--r--target/tricore/cpu.h4
1 files changed, 4 insertions, 0 deletions
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];