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

[Xen-ia64-devel] Strange code in vmx_ivt.S



Hi,

can someone (from Intel ?) comment this code:

// 0x0c00 Entry 3 (size 64 bundles) Alt ITLB (19)
ENTRY(vmx_alt_itlb_miss)
    VMX_DBG_FAULT(3)
    mov r31 = pr
    mov r29=cr.ipsr;
    ;;
    tbit.z p6,p7=r29,IA64_PSR_VM_BIT;
(p7)br.spnt vmx_fault_3
vmx_alt_itlb_miss_1:
    mov r16=cr.ifa    // get address that caused the TLB miss
    ;;
    tbit.z p6,p7=r16,63  //*********************************
(p6)br.spnt vmx_fault_3
    ;;

I don't understand the tbit.z (***) test.  The code after the br does itc
in identity-mapped area.  But testing bit 63 is not enough.

Tristan.

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


 


Rackspace

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