WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Clean up unused functions

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Clean up unused functions
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 16:20:21 +0000
Delivery-date: Fri, 28 Jul 2006 09:23:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID e448723613ab40a43bed358834135501ad2ee011
# Parent  aa8257def6dc1f260f2259cda78ec5437bba3533
[IA64] Clean up unused functions

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_phy_mode.c    |   18 +-----------------
 xen/arch/ia64/xen/regionreg.c       |   19 -------------------
 xen/include/asm-ia64/regionreg.h    |    1 -
 xen/include/asm-ia64/vmx_phy_mode.h |    1 -
 4 files changed, 1 insertion(+), 38 deletions(-)

diff -r aa8257def6dc -r e448723613ab xen/arch/ia64/vmx/vmx_phy_mode.c
--- a/xen/arch/ia64/vmx/vmx_phy_mode.c  Mon Jul 03 08:27:24 2006 -0600
+++ b/xen/arch/ia64/vmx/vmx_phy_mode.c  Mon Jul 03 08:29:57 2006 -0600
@@ -204,23 +204,7 @@ vmx_load_all_rr(VCPU *vcpu)
        ia64_srlz_i();
 }
 
-void
-vmx_load_rr7_and_pta(VCPU *vcpu)
-{
-       unsigned long psr;
-
-       local_irq_save(psr);
-
-       vmx_switch_rr7(vrrtomrr(vcpu,VMX(vcpu, vrr[VRN7])),
-                       (void *)vcpu->domain->shared_info,
-                       (void *)vcpu->arch.privregs,
-                       (void *)vcpu->arch.vhpt.hash, pal_vaddr );
-       ia64_set_pta(vcpu->arch.arch_vmx.mpta);
-
-       ia64_srlz_d();
-       local_irq_restore(psr);
-       ia64_srlz_i();
-}
+
 
 void
 switch_to_physical_rid(VCPU *vcpu)
diff -r aa8257def6dc -r e448723613ab xen/arch/ia64/xen/regionreg.c
--- a/xen/arch/ia64/xen/regionreg.c     Mon Jul 03 08:27:24 2006 -0600
+++ b/xen/arch/ia64/xen/regionreg.c     Mon Jul 03 08:29:57 2006 -0600
@@ -342,22 +342,3 @@ void load_region_regs(struct vcpu *v)
                panic_domain(0,"load_region_regs: can't set! bad=%lx\n",bad);
        }
 }
-
-void load_region_reg7_and_pta(struct vcpu *v)
-{
-       unsigned long rr7, pta;
-
-       if (!is_idle_domain(v->domain)) {  
-               ia64_set_pta(VHPT_ADDR | (1 << 8) | (VHPT_SIZE_LOG2 << 2) |
-                            VHPT_ENABLED);
-
-               // TODO: These probably should be validated
-               rr7 =  VCPU(v,rrs[7]);
-               if (!set_one_rr(0xe000000000000000L, rr7))
-                       panic_domain(0, "%s: can't set!\n", __func__);
-       }
-       else {
-               pta = ia64_get_pta();
-               ia64_set_pta(pta & ~VHPT_ENABLED);
-       }
-}
diff -r aa8257def6dc -r e448723613ab xen/include/asm-ia64/regionreg.h
--- a/xen/include/asm-ia64/regionreg.h  Mon Jul 03 08:27:24 2006 -0600
+++ b/xen/include/asm-ia64/regionreg.h  Mon Jul 03 08:29:57 2006 -0600
@@ -79,6 +79,5 @@ extern int set_metaphysical_rr0(void);
 extern int set_metaphysical_rr0(void);
 
 extern void load_region_regs(struct vcpu *v);
-extern void load_region_reg7_and_pta(struct vcpu *v);
 
 #endif         /* !_REGIONREG_H_ */
diff -r aa8257def6dc -r e448723613ab xen/include/asm-ia64/vmx_phy_mode.h
--- a/xen/include/asm-ia64/vmx_phy_mode.h       Mon Jul 03 08:27:24 2006 -0600
+++ b/xen/include/asm-ia64/vmx_phy_mode.h       Mon Jul 03 08:29:57 2006 -0600
@@ -96,7 +96,6 @@ extern void recover_if_physical_mode(VCP
 extern void recover_if_physical_mode(VCPU *vcpu);
 extern void vmx_init_all_rr(VCPU *vcpu);
 extern void vmx_load_all_rr(VCPU *vcpu);
-extern void vmx_load_rr7_and_pta(VCPU *vcpu);
 extern void physical_tlb_miss(VCPU *vcpu, u64 vadr);
 /*
  * No sanity check here, since all psr changes have been

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Clean up unused functions, Xen patchbot-unstable <=