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:
parent
edee3da2e6
commit
ff3779a543
@ -26,6 +26,10 @@
|
|||||||
#include "qemu/cpu-float.h"
|
#include "qemu/cpu-float.h"
|
||||||
#include "tricore-defs.h"
|
#include "tricore-defs.h"
|
||||||
|
|
||||||
|
#ifdef CONFIG_USER_ONLY
|
||||||
|
#error "TriCore does not support user mode emulation"
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct CPUArchState {
|
typedef struct CPUArchState {
|
||||||
/* GPR Register */
|
/* GPR Register */
|
||||||
uint32_t gpr_a[16];
|
uint32_t gpr_a[16];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user