target/tricore: Ensure not being build on user emulation

Currently only system emulation is supported.
Assert no target code is built for user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250121142341.17001-4-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-01-21 13:16:31 +01:00
parent edee3da2e6
commit ff3779a543

View File

@ -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];