aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-01-09 14:43:47 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-01-09 14:43:47 +0000
commite730287cef2a0c2889ed819fc158e21117cd84f8 (patch)
tree6bb5cbd6bab3dcaec2b488886ce917f6641760a4 /include/hw/misc
parent6f53b1267bb68b55bde65248212bcc071a15848f (diff)
downloadqemu-e730287cef2a0c2889ed819fc158e21117cd84f8.zip
qemu-e730287cef2a0c2889ed819fc158e21117cd84f8.tar.gz
qemu-e730287cef2a0c2889ed819fc158e21117cd84f8.tar.bz2
target/arm: *_EL12 registers should UNDEF when HCR_EL2.E2H is 0
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.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Miguel Luis <miguel.luis@oracle.com>
Diffstat (limited to 'include/hw/misc')
0 files changed, 0 insertions, 0 deletions