10 * Static constructor for the interval timer.
12 * The implementation is platform specific. Two x86 implementations
13 * are timer-pit and timer-rtc.
15 static void init(Cpu_number cpu) FIASCO_INIT_CPU_AND_PM;
18 * Initialize the system clock.
20 static void init_system_clock();
23 * Advances the system clock.
25 static void update_system_clock(Cpu_number cpu);
28 * Get the current system clock.
30 static Unsigned64 system_clock();
33 * reprogram the one-shot timer to the next event.
35 static void update_timer(Unsigned64 wakeup);
42 static void master_cpu(Cpu_number cpu) { _cpu = cpu; }
45 static Cpu_number _cpu;
51 Cpu_number Timer::_cpu;