OSDN Git Service

target/arm: Introduce core_to_aa64_mmu_idx
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Mar 2020 16:09:20 +0000 (16:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Mar 2020 16:09:20 +0000 (16:09 +0000)
commit20dc67c947a691fa9df05e76aec6df50204b4b94
treee10fe8a0bb56c5637a066da755600869098888b3
parentfb901c905dc34254f3edfbee86143460594c564b
target/arm: Introduce core_to_aa64_mmu_idx

If by context we know that we're in AArch64 mode, we need not
test for M-profile when reconstructing the full ARMMMUIdx.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200302175829.2183-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/internals.h
target/arm/translate-a64.c