summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2014-05-27 17:09:54 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-05-27 17:09:54 +0100
commit855ea66dd5027a2c665a7056c8ba260a75f59101 (patch)
tree361e7cefb96beb104bdb10db38a4b61279362269
parent61d4b215d1a19ff9d4cc508c1520f6a485466982 (diff)
downloadhqemu-855ea66dd5027a2c665a7056c8ba260a75f59101.zip
hqemu-855ea66dd5027a2c665a7056c8ba260a75f59101.tar.gz
target-arm: Make vbar_write writeback to any CPREG
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1400980132-25949-22-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target-arm/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index e0f3bb8..c5b032f 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)
OpenPOWER on IntegriCloud