On 12/18/23 22:32, Peter Maydell wrote:
The alias registers like SCTLR_EL12 only exist when HCR_EL2.E2H
is 1; they should UNDEF otherwise. We weren't implementing this.
Add an intercept of the accessfn for these aliases, and implement
the UNDEF check.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  target/arm/cpregs.h |  3 ++-
  target/arm/helper.c | 16 ++++++++++++++++
  2 files changed, 18 insertions(+), 1 deletion(-)

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

r~

Reply via email to