On 8/30/25 01:28, Paolo Bonzini wrote:
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.

Cc: Peter Maydell<peter.mayd...@linaro.org>
Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
---
  target/arm/internals.h |   5 +
  target/arm/cpu-irq.c   | 381 +++++++++++++++++++++++++++++++++++++++++
  target/arm/cpu.c       | 370 ---------------------------------------
  target/arm/el2-stubs.c |  37 ++++
  target/arm/helper.c    |   4 +
  target/arm/meson.build |   2 +
  6 files changed, 429 insertions(+), 370 deletions(-)
  create mode 100644 target/arm/cpu-irq.c
  create mode 100644 target/arm/el2-stubs.c

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to