rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / arch / x86 / arch.c
index f29b59840941128b9a5dd912d6691997f243e146..e98bdd9de7b3eca8b06085598b126d7c3f273270 100644 (file)
@@ -29,21 +29,6 @@ arch_preinit()
     isrm_bindiv(LUNAIX_SYS_CALL, syscall_hndlr);
 }
 
     isrm_bindiv(LUNAIX_SYS_CALL, syscall_hndlr);
 }
 
-struct hwtimer*
-select_platform_timer()
-{
-    struct hwtimer* timer;
-
-    timer = apic_hwtimer_context();
-    if (timer->supported(timer)) {
-        return timer;
-    }
-
-    // TODO select alternatives...
-
-    fail("no timer to use.");
-}
-
 void
 update_tss()
 {
 void
 update_tss()
 {