Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 248 → Rev 249

/shark/trunk/oslib/kl/advtimer.c
160,7 → 160,7
#ifdef CONFIG_MELAN
# define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
#else
# define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
# define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
#endif
 
#define COUNTER_END 100
217,7 → 217,7
dtsc = end - start;
 
//Delta PIT
delta_8253 = start_8253 - end_8253;
delta_8253 = start_8253 - end_8253 - 1;
 
if (delta_8253 > 0x20000) {
message("Error calculating Delta PIT\n");