qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC v12 18/65] target/arm: move cpsr_read, cpsr_write to cpu_common


From: Richard Henderson
Subject: Re: [RFC v12 18/65] target/arm: move cpsr_read, cpsr_write to cpu_common
Date: Sun, 28 Mar 2021 09:54:49 -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:
we need as a result to move switch_mode too,
so we put an implementation into cpu_user and cpu_sysemu.

Signed-off-by: Claudio Fontana<cfontana@suse.de>
---
  target/arm/cpu.h        |   2 +
  target/arm/cpu-common.c | 192 +++++++++++++++++++++++++++++++++++
  target/arm/cpu-sysemu.c |  30 ++++++
  target/arm/cpu-user.c   |  24 +++++
  target/arm/tcg/helper.c | 220 ----------------------------------------
  target/arm/meson.build  |   3 +
  6 files changed, 251 insertions(+), 220 deletions(-)
  create mode 100644 target/arm/cpu-user.c

I'm a little surprised this isn't going into cpu32.c or something, since it's aarch32 specific. But I guess it's ok.

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

r~



reply via email to

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