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

[Xen-changelog] [xen-unstable] [IA64] fix rsc save/restore



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 5ebc7ee315ccee32fa4d30e972e0ebdfdf98e2ca
# Parent  2fe5df7670cffd5e06b31b45dd6e23447950e3ba
[IA64] fix rsc save/restore

mode_flags is int type, so we should use ld4 & st4

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/optvfault.S |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -r 2fe5df7670cf -r 5ebc7ee315cc xen/arch/ia64/vmx/optvfault.S
--- a/xen/arch/ia64/vmx/optvfault.S     Thu Nov 02 12:39:04 2006 -0700
+++ b/xen/arch/ia64/vmx/optvfault.S     Thu Nov 02 12:40:44 2006 -0700
@@ -177,7 +177,7 @@ GLOBAL_ENTRY(vmx_asm_rsm)
     ;;
     ld8 r18=[r17]
     movl r28=IA64_PSR_IC+IA64_PSR_I+IA64_PSR_DT+IA64_PSR_SI
-    ld8 r23=[r22]
+    ld4 r23=[r22]
     sub r27=-1,r26
     mov r24=b0
     ;;
@@ -200,7 +200,7 @@ GLOBAL_ENTRY(vmx_asm_rsm)
     ;;
     ld8 r26=[r26]
     ld8 r27=[r27]
-    st8 [r22]=r23
+    st4 [r22]=r23
     dep.z r28=4,61,3
     ;;
     mov rr[r0]=r26
@@ -232,7 +232,7 @@ GLOBAL_ENTRY(vmx_asm_ssm)
     mov r20=cr.ipsr
     or r19=r29,r26
     ;;
-    ld8 r23=[r22]
+    ld4 r23=[r22]
     st8 [r27]=r19
     or r20=r20,r26
     ;;
@@ -251,7 +251,7 @@ GLOBAL_ENTRY(vmx_asm_ssm)
     ;;
     ld8 r26=[r26]
     ld8 r27=[r27]
-    st8 [r22]=r23
+    st4 [r22]=r23
     dep.z r28=4,61,3
     ;;
     mov rr[r0]=r26
@@ -306,7 +306,7 @@ vmx_asm_mov_to_psr_back:
     add r22=IA64_VCPU_MODE_FLAGS_OFFSET,r21
     dep r19=0,r19,32,32
     ;;   
-    ld8 r23=[r22]
+    ld4 r23=[r22]
     dep r18=0,r17,0,32
     ;; 
     add r30=r18,r19
@@ -332,7 +332,7 @@ vmx_asm_mov_to_psr_back:
     ;;
     ld8 r26=[r26]
     ld8 r27=[r27]
-    st8 [r22]=r23
+    st4 [r22]=r23
     dep.z r28=4,61,3
     ;;
     mov rr[r0]=r26

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.