From: Edgar E. Iglesias Date: Tue, 27 May 2014 16:09:54 +0000 (+0100) Subject: target-arm: Make vbar_write writeback to any CPREG X-Git-Tag: v2.1.0-rc0~99^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=855ea66dd5027a2c665a7056c8ba260a75f59101;p=thirdparty%2Fqemu.git target-arm: Make vbar_write writeback to any CPREG Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias Message-id: 1400980132-25949-22-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell --- diff --git a/target-arm/helper.c b/target-arm/helper.c index e0f3bb81dbf..c5b032fbfcd 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -681,7 +681,7 @@ static void vbar_write(CPUARMState *env, const ARMCPRegInfo *ri, * contexts. (ARMv8 would permit us to do no masking at all, but ARMv7 * requires the bottom five bits to be RAZ/WI because they're UNK/SBZP.) */ - env->cp15.vbar_el[1] = value & ~0x1FULL; + raw_write(env, ri, value & ~0x1FULL); } static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri)