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

[Xen-changelog] Fix hyper_set_kr bug -- was always setting kr0. (Found by Kevin Tian)



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 3f237000e59cebcffadad19887d42e3dff8f5cda
# Parent  fbf92a68ff36dd608012888e3268b40b013b4fb9
Fix hyper_set_kr bug -- was always setting kr0.  (Found by Kevin Tian)

diff -r fbf92a68ff36 -r 3f237000e59c xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Tue Nov  1 04:43:11 2005
+++ b/xen/arch/ia64/xen/hyperprivop.S   Tue Nov  1 14:37:40 2005
@@ -1485,7 +1485,7 @@
        adds r21=XSI_KR0_OFS-XSI_PSR_IC_OFS,r18 ;;
        shl r20=r8,3;;
        add r22=r20,r21;;
-       st8 [r21]=r9;;
+       st8 [r22]=r9;;
        cmp.eq p7,p0=r8,r0
        adds r8=-1,r8;;
 (p7)   mov ar0=r9;;

_______________________________________________
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®.