#include #include #include #include #include #include #include /* Determines which timer will be used for calibration */ int calibration_timer = -1; void timer_init(void){ if(pmt_init() == -1){ klog(__func__, "PMT Timer not found, falling back"); /* Fall back to HPET */ }else{ calibration_timer = PMT; } }