On 3/26/21 1:36 PM, Claudio Fontana wrote:
extract the exception handling code from cpu-sysemu,
and split it into general arm code and an AArch64-specific part.

Signed-off-by: Claudio Fontana<cfont...@suse.de>
---
  target/arm/cpu-exceptions-aa64.h |  32 +
  target/arm/cpu.h                 |   4 -
  target/arm/arch_dump.c           |   1 +
  target/arm/cpu-exceptions-aa64.c | 553 ++++++++++++++++++
  target/arm/cpu-exceptions.c      | 481 +++++++++++++++
  target/arm/cpu-sysemu.c          | 975 -------------------------------
  target/arm/cpu-user.c            |   1 +
  target/arm/cpu64.c               |   1 +
  target/arm/kvm/kvm64.c           |   1 +
  target/arm/tcg/helper-a64.c      |   1 +
  target/arm/tcg/helper.c          |   1 +
  target/arm/meson.build           |   5 +
  12 files changed, 1077 insertions(+), 979 deletions(-)
  create mode 100644 target/arm/cpu-exceptions-aa64.h
  create mode 100644 target/arm/cpu-exceptions-aa64.c
  create mode 100644 target/arm/cpu-exceptions.c

This is the second move for all of this code.
Not a fan of that.  Come up with a plan and move it once.

I think the sve_exception_el move is a mistake, since as you have pointed out it is used far beyond exception handling.


r~

Reply via email to