]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-arm: remove uses of cpu_interrupt() for user-mode emulation
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Aug 2025 10:43:55 +0000 (12:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Sep 2025 17:00:55 +0000 (19:00 +0200)
commitbd1cefdd9f18bfbdcb597d7d552fbf31dee47a28
tree94c6f172d4a72af4f3b3accc2c4d09d45d768185
parent3efe1a0f604cb7c4afd0381294acbdec75c65325
target-arm: remove uses of cpu_interrupt() for user-mode emulation

Arm leaves around some functions that use cpu_interrupt(), even for
user-mode emulation when the code is unreachable.  Pull out the
system-mode implementation to a separate file, and add stubs for
CONFIG_USER_ONLY.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/arm/cpu-irq.c [new file with mode: 0644]
target/arm/cpu.c
target/arm/el2-stubs.c [new file with mode: 0644]
target/arm/helper.c
target/arm/internals.h
target/arm/meson.build