OSDN Git Service

target/arm: Consider GP an attribute in get_phys_addr_lpae
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Oct 2022 05:18:47 +0000 (15:18 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Oct 2022 09:27:24 +0000 (10:27 +0100)
commit0e8df0fe2425eae7baaf18da869da9aa3c44dc03
tree8eb03f8611c0dca81365fda261ab45ac3d455180
parent4566609176f82a8033d422bc6c04fc9c354bed24
target/arm: Consider GP an attribute in get_phys_addr_lpae

Both GP and DBM are in the upper attribute block.
Extend the computation of attrs to include them,
then simplify the setting of guarded.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20221024051851.3074715-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c