OSDN Git Service

target/arm: Split arm_pre_translate_insn
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Nov 2021 04:03:46 +0000 (00:03 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
commit258a00e5a4a59dd4b0360a0aa4b8263b44d55cd0
tree9d80a765b76f41ffb4049be3ca0a26ef414a41ad
parent0bb72bca7cb1cd282d2a55549db06a54d0319d7f
target/arm: Split arm_pre_translate_insn

Create arm_check_ss_active and arm_check_kernelpage.

Reverse the order of the tests.  While it doesn't matter in practice,
because only user-only has a kernel page and user-only never sets
ss_active, ss_active has priority over execution exceptions and it
is best to keep them in the proper order.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c