summary refs log tree commit diff stats
path: root/ui/cursor.c
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 15:35:49 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-04-01 15:35:49 +0100
commitbcd7a8cf38b7e9769f741419bc56675cbddb42c6 (patch)
treef82f8210b4f8b5ccc89712dfef72554d7fa39f00 /ui/cursor.c
parentd3b2d191119ee3e6364e470b9579e6353d202e54 (diff)
downloadfocaccia-qemu-bcd7a8cf38b7e9769f741419bc56675cbddb42c6.tar.gz
focaccia-qemu-bcd7a8cf38b7e9769f741419bc56675cbddb42c6.zip
target/arm: Take VSTCR.SW, VTCR.NSW into account in final stage 2 walk
As per the AArch64.SS2InitialTTWState() psuedo-code in the ARMv8 ARM the
initial PA space used for stage 2 table walks is assigned based on the SW
and NSW bits of the VSTCR and VTCR registers.
This was already implemented for the recursive stage 2 page table walks
in S1_ptw_translate(), but was missing for the final stage 2 walk.

Signed-off-by: Idan Horowitz <idan.horowitz@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220327093427.1548629-3-idan.horowitz@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/cursor.c')
0 files changed, 0 insertions, 0 deletions