# 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
|