Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 328 → Rev 329

/shark/trunk/oslib/kl/event1.c
114,7 → 114,7
}
tnext = TIMESPEC2USEC(&tmp);
#ifndef __APIC__
mul32div32to32(tnext,1197,1000,tnext);
mul32div32to32(tnext,1193182,1000000,tnext);
pit_setconstant(0, tnext);
#else
mul32div32to32(tnext,apic_clk_per_msec,1000,tnext);
202,7 → 202,7
/* SUBTIMESPEC(&(firstevent->time), &now, &ttmp); */
tnext = TIMESPEC2USEC(&ttmp);
#ifndef __APIC__
mul32div32to32(tnext,1197,1000,tnext);
mul32div32to32(tnext,1193182,1000000,tnext);
pit_setconstant(0, tnext);
#else
mul32div32to32(tnext,apic_clk_per_msec,1000,tnext);
268,7 → 268,7
/*SUBTIMESPEC(&now, &(firstevent->time), &tmp); */
tnext = TIMESPEC2USEC(&tmp);
#ifndef __APIC__
mul32div32to32(tnext,1197,1000,tnext);
mul32div32to32(tnext,1193182,1000000,tnext);
pit_setconstant(0, tnext);
#else
mul32div32to32(tnext,apic_clk_per_msec,1000,tnext);