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] [IA64] xen_timer_interval removed (was not used).

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [IA64] xen_timer_interval removed (was not used).
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 02 Mar 2006 12:16:39 +0000
Delivery-date: Thu, 02 Mar 2006 12:21:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 4db98649cc3636eff576a304f7c4761c9165bbb8
# Parent  f4b83d04643cbab10b9f31ba85ef01d2d6702b45
[IA64] xen_timer_interval removed (was not used).

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>

diff -r f4b83d04643c -r 4db98649cc36 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Tue Feb 28 19:23:46 2006
+++ b/xen/arch/ia64/xen/vcpu.c  Tue Feb 28 19:43:08 2006
@@ -985,15 +985,6 @@
        return (IA64_NO_FAULT);
 }
 
-// parameter is a time interval specified in cycles
-void vcpu_enable_timer(VCPU *vcpu,UINT64 cycles)
-{
-    PSCBX(vcpu,xen_timer_interval) = cycles;
-    vcpu_set_next_timer(vcpu);
-    printf("vcpu_enable_timer: interval set to %lu cycles\n",
-             PSCBX(vcpu,xen_timer_interval));
-}
-
 IA64FAULT vcpu_set_itv(VCPU *vcpu, UINT64 val)
 {
 //extern unsigned long privop_trace;
@@ -1001,10 +992,11 @@
        if (val & 0xef00) return (IA64_ILLOP_FAULT);
        PSCB(vcpu,itv) = val;
        if (val & 0x10000) {
-printf("**** vcpu_set_itv(%lu): vitm=%lx, setting to 
0\n",val,PSCBX(vcpu,domain_itm));
+               printf("**** vcpu_set_itv(%lu): vitm=%lx, setting to 0\n",
+                      val,PSCBX(vcpu,domain_itm));
                PSCBX(vcpu,domain_itm) = 0;
        }
-       else vcpu_enable_timer(vcpu,1000000L);
+       else vcpu_set_next_timer(vcpu);
        return (IA64_NO_FAULT);
 }
 
@@ -1086,7 +1078,6 @@
        //UINT64 s = PSCBX(vcpu,xen_itm);
        UINT64 s = local_cpu_data->itm_next;
        UINT64 now = ia64_get_itc();
-       //UINT64 interval = PSCBX(vcpu,xen_timer_interval);
 
        /* gloss over the wraparound problem for now... we know it exists
         * but it doesn't matter right now */
diff -r f4b83d04643c -r 4db98649cc36 xen/include/asm-ia64/domain.h
--- a/xen/include/asm-ia64/domain.h     Tue Feb 28 19:23:46 2006
+++ b/xen/include/asm-ia64/domain.h     Tue Feb 28 19:43:08 2006
@@ -59,7 +59,6 @@
        unsigned long domain_itm;
        unsigned long domain_itm_last;
        unsigned long xen_itm;
-       unsigned long xen_timer_interval;
 #endif
     mapped_regs_t *privregs; /* save the state of vcpu */
     unsigned long metaphysical_rr0;            // from arch_domain (so is 
pinned)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] xen_timer_interval removed (was not used)., Xen patchbot -unstable <=