[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/28] target/tricore: Ensure not being build on user emulation
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 03/28] target/tricore: Ensure not being build on user emulation |
Date: |
Tue, 21 Jan 2025 15:23:16 +0100 |
Currently only system emulation is supported.
Assert no target code is built for user emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/tricore/cpu.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h
index 8e431d79222..cf9dbc6df8e 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];
--
2.47.1
- [PATCH 00/28] cpus: Restrict CPU has_work() handlers to system emulation, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 01/28] target/hexagon: Ensure not being build on system emulation, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 02/28] target/rx: Ensure not being build on user emulation, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 03/28] target/tricore: Ensure not being build on user emulation,
Philippe Mathieu-Daudé <=
- [PATCH 04/28] cpus: Restrict cpu_get_memory_mapping() to system emulation, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 05/28] cpus: Restrict cpu_has_work() to system emulation, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 06/28] cpus: Un-inline cpu_has_work(), Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 08/28] target/alpha: Move has_work() from CPUClass to SysemuCPUOps, Philippe Mathieu-Daudé, 2025/01/21
- [PATCH 07/28] cpus: Introduce SysemuCPUOps::has_work() handler, Philippe Mathieu-Daudé, 2025/01/21