X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/34f6af4f61e0eec9c96113e07f140b609b4113c8..35a7d633d3f16c1e0539af6ca5d8e7482926cd93:/lunaix-os/arch/x86/arch.c diff --git a/lunaix-os/arch/x86/arch.c b/lunaix-os/arch/x86/arch.c index 533ded9..e98bdd9 100644 --- a/lunaix-os/arch/x86/arch.c +++ b/lunaix-os/arch/x86/arch.c @@ -1,9 +1,10 @@ #include -#include #include #include +#include + #include "asm/x86.h" #include "asm/hart.h" @@ -28,21 +29,6 @@ arch_preinit() 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() {