diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2019-10-31 05:08:30 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-11-01 20:41:00 +0000 |
commit | 98be6b7d62124a1ec9a7094c2a30981f82a07f9f (patch) | |
tree | 95f1ac89145c5d7b58e77192408dd7a173757c23 /hw/arm | |
parent | 87014c6b3660ce54a57cb72171d6f93306b0c44a (diff) | |
download | qemu-98be6b7d62124a1ec9a7094c2a30981f82a07f9f.zip qemu-98be6b7d62124a1ec9a7094c2a30981f82a07f9f.tar.gz qemu-98be6b7d62124a1ec9a7094c2a30981f82a07f9f.tar.bz2 |
hw/arm/boot: Rebuild hflags when modifying CPUState at boot
Rebuild hflags when modifying CPUState at boot.
Fixes: e979972a6a
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20191031040830.18800-2-edgar.iglesias@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/boot.c b/hw/arm/boot.c index c264864..ef67249 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -786,6 +786,7 @@ static void do_cpu_reset(void *opaque) info->secondary_cpu_reset_hook(cpu, info); } } + arm_rebuild_hflags(env); } } |