summary refs log tree commit diff stats
path: root/target/rx/helper.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-21 13:16:26 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:18 +0100
commitedee3da2e62ffa741083e1caa78203f91a7f1a87 (patch)
tree4efa725acdf51bac1e9cd46101cb323a16c265d2 /target/rx/helper.c
parenta770b10bafc3e67b16c258167e15f228298c2d35 (diff)
downloadfocaccia-qemu-edee3da2e62ffa741083e1caa78203f91a7f1a87.tar.gz
focaccia-qemu-edee3da2e62ffa741083e1caa78203f91a7f1a87.zip
target/rx: Ensure not being build on user emulation
Currently only system emulation is supported.
Assert no target code is built for user emulation.
Remove #ifdef'ry since more work is required before
being able to emulate a user process.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250121142341.17001-3-philmd@linaro.org>
Diffstat (limited to 'target/rx/helper.c')
-rw-r--r--target/rx/helper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/rx/helper.c b/target/rx/helper.c
index 80912e8dcb..7f28e72989 100644
--- a/target/rx/helper.c
+++ b/target/rx/helper.c
@@ -40,8 +40,6 @@ void rx_cpu_unpack_psw(CPURXState *env, uint32_t psw, int rte)
     env->psw_c = FIELD_EX32(psw, PSW, C);
 }
 
-#ifndef CONFIG_USER_ONLY
-
 #define INT_FLAGS (CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR)
 void rx_cpu_do_interrupt(CPUState *cs)
 {
@@ -146,5 +144,3 @@ hwaddr rx_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
 {
     return addr;
 }
-
-#endif /* !CONFIG_USER_ONLY */