diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-03-30 22:03:59 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-05-04 10:32:46 +0100 |
commit | ff7de2fc2c994030bfb83af9ddc9a3cd70ce3e88 (patch) | |
tree | 138c16332476b2abf4a283e74fea8630a5278f04 /target/arm/cpu64.c | |
parent | 59dff859cd850876df2cfa561c7bcfc4bdda4599 (diff) |
target/arm: Add new 's1_is_el0' argument to get_phys_addr_lpae()
For ARMv8.2-TTS2UXN, the stage 2 page table walk wants to know
whether the stage 1 access is for EL0 or not, because whether
exec permission is given can depend on whether this is an EL0
or EL1 access. Add a new argument to get_phys_addr_lpae() so
the call sites can pass this information in.
Since get_phys_addr_lpae() doesn't already have a doc comment,
add one so we have a place to put the documentation of the
semantics of the new s1_is_el0 argument.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200330210400.11724-4-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpu64.c')
0 files changed, 0 insertions, 0 deletions