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

[Xen-changelog] [IA64] access reflect fix



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 0a7e619a248fd77eabf4468d20bd05f1c6b353a5
# Parent  b09e8f46c9f6c6daf59ba97542af05e4981d0579
[IA64] access reflect fix

Before injecting fault to guest, VMM need to setup
guest itir by using guest region register.
But the lowest two bits of itir are reserved. VMM need
to reset these two bits.

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

diff -r b09e8f46c9f6 -r 0a7e619a248f xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Mon Apr 10 14:51:38 2006 -0600
+++ b/xen/arch/ia64/xen/hyperprivop.S   Mon Apr 10 14:54:35 2006 -0600
@@ -748,6 +748,7 @@ GLOBAL_ENTRY(fast_access_reflect)
        adds r21=XSI_RR0_OFS-XSI_PSR_IC_OFS,r18 ;;
        shladd r22=r22,3,r21;;
        ld8 r22=[r22];;
+       and r22=~3,r22;;
        st8 [r23]=r22;;
        br.cond.sptk.many fast_reflect;;
 

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