OSDN Git Service

target/arm: Apply access checks to neoverse-n1 special registers
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 31 Aug 2023 08:45:15 +0000 (09:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 31 Aug 2023 08:45:15 +0000 (09:45 +0100)
commit6d482423fcecb34056013268fa552b1ce2efcfeb
tree5044ae30a81fd7360597b3dc768326bd68c1421d
parentd8100822d6988cf7837aa780eaa24de6752b1c59
target/arm: Apply access checks to neoverse-n1 special registers

Access to many of the special registers is enabled or disabled
by ACTLR_EL[23], which we implement as constant 0, which means
that all writes outside EL3 should trap.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20230811214031.171020-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpregs.h
target/arm/helper.c
target/arm/tcg/cpu64.c