qemu-devel
[Top][All Lists]
Advanced

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

[RFC PATCH 0/2] target/arm: Constify helpers taking CPUARMState arg


From: Philippe Mathieu-Daudé
Subject: [RFC PATCH 0/2] target/arm: Constify helpers taking CPUARMState arg
Date: Fri, 17 Jan 2025 00:04:33 +0100

Hi,

I'd like to enforce some CpuClass handlers to take a
const CPUState* argument, but before I need to clean
each target. RFC starting with ARM, mostly to get
feedback on const_cpu_env() and const_env_archcpu().

Thanks,

Phil.

Based-on: <20250116214359.67295-1-philmd@linaro.org>
 "softfloat: Constify helpers returning float_status field"

Philippe Mathieu-Daudé (2):
  cpus: Introduce const_cpu_env() and const_env_archcpu()
  target/arm: Constify lot of helpers taking CPUARMState argument

 include/exec/cpu-common.h |  5 +++
 include/hw/core/cpu.h     |  6 ++++
 target/arm/cpu-features.h |  2 +-
 target/arm/cpu.h          | 71 ++++++++++++++++++++-------------------
 target/arm/internals.h    | 10 +++---
 target/arm/helper.c       | 25 +++++++-------
 target/arm/ptw.c          |  2 +-
 target/arm/tcg/m_helper.c |  8 ++---
 target/arm/vfp_helper.c   |  6 ++--
 9 files changed, 74 insertions(+), 61 deletions(-)

-- 
2.47.1




reply via email to

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