target/arm: Pass HCR to attribute subroutines.
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Oct 2022 16:22:52 +0000 (09:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Oct 2022 13:52:25 +0000 (14:52 +0100)
commitac76c2e508871e8180780338aa035c67ece75888
tree6742873b3bfda8dee4367453f41b74e26fb5c077
parent72cef09caa2ce23324777676979c62bbdd02cb35
target/arm: Pass HCR to attribute subroutines.

These subroutines did not need ENV for anything except
retrieving the effective value of HCR anyway.

We have computed the effective value of HCR in the callers,
and this will be especially important for interpreting HCR
in a non-current security state.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221001162318.153420-17-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c