ia64/xen-unstable

changeset 9505:0a7e619a248f

[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@intel.com>
author awilliam@xenbuild.aw
date Mon Apr 10 14:54:35 2006 -0600 (2006-04-10)
parents b09e8f46c9f6
children 90813b66c3cf
files xen/arch/ia64/xen/hyperprivop.S
line diff
     1.1 --- a/xen/arch/ia64/xen/hyperprivop.S	Mon Apr 10 14:51:38 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/hyperprivop.S	Mon Apr 10 14:54:35 2006 -0600
     1.3 @@ -748,6 +748,7 @@ GLOBAL_ENTRY(fast_access_reflect)
     1.4  	adds r21=XSI_RR0_OFS-XSI_PSR_IC_OFS,r18 ;;
     1.5  	shladd r22=r22,3,r21;;
     1.6  	ld8 r22=[r22];;
     1.7 +	and r22=~3,r22;;
     1.8  	st8 [r23]=r22;;
     1.9  	br.cond.sptk.many fast_reflect;;
    1.10