6 static unsigned irq_mode() { return 0; }
9 static inline void update_one_shot(Unsigned64 wakeup);
12 // ------------------------------------------------------------------------
20 IMPLEMENT inline NEEDS["kip.h"]
22 Timer::init_system_clock()
27 IMPLEMENT inline NEEDS["config.h", "globals.h", "kip.h", "watchdog.h"]
29 Timer::update_system_clock(unsigned cpu)
33 Kip::k()->clock += Config::Scheduler_granularity;
38 IMPLEMENT inline NEEDS[Timer::update_one_shot, "config.h"]
40 Timer::update_timer(Unsigned64 wakeup)
42 if (Config::Scheduler_one_shot)
43 update_one_shot(wakeup);