qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-stable] [PATCH v1 1/4] target-arm: Make vbar_write 64bit friendly


From: Edgar E. Iglesias
Subject: [Qemu-stable] [PATCH v1 1/4] target-arm: Make vbar_write 64bit friendly on 32bit hosts (fwd)
Date: Fri, 2 May 2014 00:34:07 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

----- Forwarded message from "Edgar E. Iglesias" <address@hidden> -----

From: "Edgar E. Iglesias" <address@hidden>
To: address@hidden
CC: address@hidden, address@hidden
Date: Thu, 1 May 2014 11:27:56 +1000
X-Mailer: git-send-email 1.8.3.2
Subject: [PATCH v1 1/4] target-arm: Make vbar_write 64bit friendly on 32bit 
hosts

From: "Edgar E. Iglesias" <address@hidden>

Signed-off-by: Edgar E. Iglesias <address@hidden>
---
 target-arm/helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-arm/helper.c b/target-arm/helper.c
index 43c1b4f..330bfc7 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -657,7 +657,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.c12_vbar = value & ~0x1Ful;
+    env->cp15.c12_vbar = value & ~0x1FULL;
 }
 
 static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri)
-- 
1.8.3.2



----- End forwarded message -----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]