Skip to content
Snippets Groups Projects
Commit 98e87797 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Peter Maydell
Browse files

target/arm: fix stage 2 page-walks in 32-bit emulation


Using a target unsigned long would limit the Input Address to a LPAE
page-walk to 32 bits on AArch32 and 64 bits on AArch64. This is okay
for stage 1 or on AArch64, but it is insufficient for stage 2 on
AArch32. In that later case, the Input Address can have up to 40 bits.

Signed-off-by: default avatarRémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-id: 20201118150414.18360-1-remi@remlab.net
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 8cc30eb1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment