qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v12 55/65] target/arm: cpu-exceptions: new module


From: Richard Henderson
Subject: Re: [RFC v12 55/65] target/arm: cpu-exceptions: new module
Date: Sun, 28 Mar 2021 12:40:10 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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<cfontana@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

[Prev in Thread] Current Thread [Next in Thread]