OSDN Git Service

target/arm: Add PSTATE.BTYPE
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Feb 2019 16:52:36 +0000 (16:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Feb 2019 16:52:36 +0000 (16:52 +0000)
commitf6e52eaac13b6947f4406c127e3090c898e439c9
tree8d27d6b8f28ed3662077da3ff95c0a9b12e56345
parentbe53b6f4d7ace2e6a018e45af825069ccb7bab66
target/arm: Add PSTATE.BTYPE

Place this in its own field within ENV, as that will
make it easier to reset from within TCG generated code.

With the change to pstate_read/write, exception entry
and return are automatically handled.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190128223118.5255-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/translate-a64.c