target/arm: Add el_is_in_host
commit19668718ad188e1b6a162bb52357a67fd407c96c
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:55 +0000 (8 19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:55 +0000 (8 19:38 +0100)
tree61a32da20e7fee4b5d1bf064b8d9e5de7853c95e
parent397d922c6248509c6d490f82088f00cbc716287c
target/arm: Add el_is_in_host

This (newish) ARM pseudocode function is easier to work with
than open-coded tests for HCR_E2H etc.  Use of the function
will be staged into the code base in parts.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220607203306.657998-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/internals.h