direct-io.hg

changeset 13483:24ce556e3049

[IA64] Add privilege check back for hypercall

hypercall is allowed when cpl=2

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author awilliam@xenbuild2.aw
date Tue Jan 16 11:22:44 2007 -0700 (2007-01-16)
parents 7d8670a30445
children 1d72428a0fab
files xen/arch/ia64/xen/ivt.S
line diff
     1.1 --- a/xen/arch/ia64/xen/ivt.S	Tue Jan 16 10:40:37 2007 -0700
     1.2 +++ b/xen/arch/ia64/xen/ivt.S	Tue Jan 16 11:22:44 2007 -0700
     1.3 @@ -1104,7 +1104,8 @@ ENTRY(break_fault)
     1.4  	adds r23=IA64_VCPU_BREAKIMM_OFFSET,r22
     1.5  	;;
     1.6  	ld4 r23=[r23];;
     1.7 -	cmp4.eq p6,p7=r23,r17			// Xen-reserved breakimm?
     1.8 +	cmp4.eq p6,p0=r23,r17;;			// Xen-reserved breakimm?
     1.9 +	cmp.eq.and p6,p0=2,r19        
    1.10  (p6)	br.spnt.many fast_hypercall
    1.11  	;;
    1.12  	br.sptk.many fast_break_reflect