OSDN Git Service

target/arm: Introduce aarch64_pstate_valid_mask
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Feb 2020 12:58:06 +0000 (12:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:14:54 +0000 (14:14 +0000)
commit140845111809cd6fd57ccde93867b48cc56ffc74
tree2cc8b81184dfc9a861ffb6dd02f93b3f8c87c111
parent70dae0d069c45250bbefd9424089383a8ac239de
target/arm: Introduce aarch64_pstate_valid_mask

Use this along the exception return path, where we previously
accepted any values.

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