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

[Xen-changelog] [xen-unstable] [IA64] Remove dead code



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1169845881 25200
# Node ID b741b300a0f2a3e3b88758da7845a16a9d60ec2c
# Parent  6745b7274effc835d5471a44622927c8885281fa
[IA64] Remove dead code

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_entry.S |  144 ------------------------------------------
 1 files changed, 144 deletions(-)

diff -r 6745b7274eff -r b741b300a0f2 xen/arch/ia64/vmx/vmx_entry.S
--- a/xen/arch/ia64/vmx/vmx_entry.S     Thu Jan 25 14:58:41 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_entry.S     Fri Jan 26 14:11:21 2007 -0700
@@ -425,148 +425,6 @@ END(ia64_vmm_entry)
 END(ia64_vmm_entry)
 
 
-#ifdef XEN_DBL_MAPPING  /* will be removed */
-
-#define VMX_PURGE_RR7  0
-#define VMX_INSERT_RR7 1
-/*
- * in0: old rr7
- * in1: virtual address of xen image
- * in2: virtual address of vhpt table
- */
-GLOBAL_ENTRY(vmx_purge_double_mapping)
-    alloc loc1 = ar.pfs,5,9,0,0
-    mov loc0 = rp
-    movl r8 = 1f
-    ;;
-    movl loc4 = KERNEL_TR_PAGE_SHIFT
-    movl loc5 = VCPU_TLB_SHIFT
-    mov loc6 = psr
-    movl loc7 = XEN_RR7_SWITCH_STUB
-    mov loc8 = (1<<VMX_PURGE_RR7)
-    ;;
-    srlz.i
-    ;;
-    rsm psr.i | psr.ic
-    ;;
-    srlz.i
-    ;;
-    mov ar.rsc = 0
-    mov b6 = loc7
-    mov rp = r8
-    ;;
-    br.sptk b6
-1:
-    mov ar.rsc = 3
-    mov rp = loc0
-    ;;
-    mov psr.l = loc6
-    ;;
-    srlz.i
-    ;;
-    br.ret.sptk rp
-END(vmx_purge_double_mapping)
-
-/*
- * in0: new rr7
- * in1: virtual address of xen image
- * in2: virtual address of vhpt table
- * in3: pte entry of xen image
- * in4: pte entry of vhpt table
- */
-GLOBAL_ENTRY(vmx_insert_double_mapping)
-    alloc loc1 = ar.pfs,5,9,0,0
-    mov loc0 = rp
-    movl loc2 = IA64_TR_XEN_IN_DOM // TR number for xen image
-    ;;
-    movl loc3 = IA64_TR_VHPT_IN_DOM    // TR number for vhpt table
-    movl r8 = 1f
-    movl loc4 = KERNEL_TR_PAGE_SHIFT
-    ;;
-    movl loc5 = VCPU_TLB_SHIFT
-    mov loc6 = psr
-    movl loc7 = XEN_RR7_SWITCH_STUB
-    ;;
-    srlz.i
-    ;;
-    rsm psr.i | psr.ic
-    mov loc8 = (1<<VMX_INSERT_RR7)
-    ;;
-    srlz.i
-    ;;
-    mov ar.rsc = 0
-    mov b6 = loc7
-    mov rp = r8
-    ;;
-    br.sptk b6
-1:
-    mov ar.rsc = 3
-    mov rp = loc0
-    ;;
-    mov psr.l = loc6
-    ;;
-    srlz.i
-    ;;
-    br.ret.sptk rp
-END(vmx_insert_double_mapping)
-
-    .align PAGE_SIZE
-/*
- * Stub to add double mapping for new domain, which shouldn't
- * access any memory when active. Before reaching this point,
- * both psr.i/ic is cleared and rse is set in lazy mode.
- *
- * in0: new rr7
- * in1: virtual address of xen image
- * in2: virtual address of vhpt table
- * in3: pte entry of xen image
- * in4: pte entry of vhpt table
- * loc2: TR number for xen image
- * loc3: TR number for vhpt table
- * loc4: page size for xen image
- * loc5: page size of vhpt table
- * loc7: free to use
- * loc8: purge or insert
- * r8: will contain old rid value
- */
-GLOBAL_ENTRY(vmx_switch_rr7)
-    movl loc7 = (7<<61)
-    dep.z loc4 = loc4, 2, 6
-    dep.z loc5 = loc5, 2, 6
-    ;;
-    tbit.nz p6,p7=loc8, VMX_INSERT_RR7
-    mov r8 = rr[loc7]
-    ;;
-    mov rr[loc7] = in0
-(p6)mov cr.ifa = in1
-(p6)mov cr.itir = loc4
-    ;;
-    srlz.i
-    ;;
-(p6)itr.i itr[loc2] = in3
-(p7)ptr.i in1, loc4
-    ;;
-(p6)itr.d dtr[loc2] = in3
-(p7)ptr.d in1, loc4
-    ;;
-    srlz.i
-    ;;
-(p6)mov cr.ifa = in2
-(p6)mov cr.itir = loc5
-    ;;
-(p6)itr.d dtr[loc3] = in4
-(p7)ptr.d in2, loc5
-    ;;
-    srlz.i
-    ;;
-    mov rr[loc7] = r8
-    ;;
-    srlz.i
-    br.sptk rp
-END(vmx_switch_rr7)
-    .align PAGE_SIZE
-
-#else
 /*
  * in0: new rr7
  * in1: virtual address of shared_info
@@ -707,5 +565,3 @@ 1:
    srlz.d              // seralize restoration of psr.l
    br.ret.sptk.many rp
 END(vmx_switch_rr7)
-#endif
-

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