qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/7] target/arm: Store TCR_EL* registers as uint64_t


From: Richard Henderson
Subject: Re: [PATCH 6/7] target/arm: Store TCR_EL* registers as uint64_t
Date: Fri, 15 Jul 2022 04:53:28 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 7/14/22 18:53, Peter Maydell wrote:
Change the representation of the TCR_EL* registers in the CPU state
struct from struct TCR to uint64_t.  This allows us to drop the
custom vmsa_ttbcr_raw_write() function, moving the "enforce RES0"
checks to their more usual location in the writefn
vmsa_ttbcr_write().  We also don't need the resetfn any more.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h          |  8 +----
  target/arm/internals.h    |  6 ++--
  target/arm/cpu.c          |  2 +-
  target/arm/debug_helper.c |  2 +-
  target/arm/helper.c       | 75 +++++++++++----------------------------
  target/arm/ptw.c          |  2 +-
  6 files changed, 27 insertions(+), 68 deletions(-)

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

r~



reply via email to

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