summaryrefslogtreecommitdiffstats
path: root/linux-user/aarch64/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson2019-10-23 17:00:55 +0200
committerPeter Maydell2019-10-24 18:16:28 +0200
commit62fb8a4789862893487034519f730c4c79c6a0b7 (patch)
tree7f8a5115dfcdd3457835b20a258a617fee856630 /linux-user/aarch64/cpu_loop.c
parenttarget/arm: Rebuild hflags for M-profile NVIC (diff)
downloadqemu-62fb8a4789862893487034519f730c4c79c6a0b7.tar.gz
qemu-62fb8a4789862893487034519f730c4c79c6a0b7.tar.xz
qemu-62fb8a4789862893487034519f730c4c79c6a0b7.zip
linux-user/aarch64: Rebuild hflags for TARGET_WORDS_BIGENDIAN
Continue setting, but not relying upon, env->hflags. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20191023150057.25731-23-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/aarch64/cpu_loop.c')
-rw-r--r--linux-user/aarch64/cpu_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/aarch64/cpu_loop.c b/linux-user/aarch64/cpu_loop.c
index 1295fa8531..31c845a70d 100644
--- a/linux-user/aarch64/cpu_loop.c
+++ b/linux-user/aarch64/cpu_loop.c
@@ -173,6 +173,7 @@ void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs)
for (i = 1; i < 4; ++i) {
env->cp15.sctlr_el[i] |= SCTLR_EE;
}
+ arm_rebuild_hflags(env);
#endif
if (cpu_isar_feature(aa64_pauth, cpu)) {