Re: [RFC v11 23/55] target/arm: move arm_sctlr away from tcg helpers

2021-03-25 Thread Claudio Fontana
On 3/24/21 11:07 PM, Richard Henderson wrote: > On 3/23/21 9:46 AM, Claudio Fontana wrote: >> this function is used for kvm too, add it to the >> cpu-common module. >> >> Signed-off-by: Claudio Fontana > > Reviewed-by: Richard Henderson > >> /* #endif TARGET_AARCH64 , see matching comment

Re: [RFC v11 23/55] target/arm: move arm_sctlr away from tcg helpers

2021-03-24 Thread Richard Henderson
On 3/23/21 9:46 AM, Claudio Fontana wrote: this function is used for kvm too, add it to the cpu-common module. Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson /* #endif TARGET_AARCH64 , see matching comment above */ + +uint64_t arm_sctlr(CPUARMState *env, int el) +{ +

[RFC v11 23/55] target/arm: move arm_sctlr away from tcg helpers

2021-03-23 Thread Claudio Fontana
this function is used for kvm too, add it to the cpu-common module. Signed-off-by: Claudio Fontana --- target/arm/cpu-common.c | 11 +++ target/arm/tcg/helper.c | 11 --- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/target/arm/cpu-common.c