X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1fe5f5eb5378a47bf0f3451762743c162e40faad..1eeed1150149b63d6e49e033697454bc12b533b9:/lunaix-os/arch/i386/arch.c diff --git a/lunaix-os/arch/i386/arch.c b/lunaix-os/arch/i386/arch.c index afdc88c..3de802d 100644 --- a/lunaix-os/arch/i386/arch.c +++ b/lunaix-os/arch/i386/arch.c @@ -29,10 +29,10 @@ arch_preinit() isrm_bindiv(LUNAIX_SYS_CALL, syscall_hndlr); } -struct hwtimer_context* +struct hwtimer* hwtimer_choose() { - struct hwtimer_context* timer; + struct hwtimer* timer; timer = apic_hwtimer_context(); if (timer->supported(timer)) { @@ -42,12 +42,4 @@ hwtimer_choose() // TODO select alternatives... panick("no timer to use."); -} - -struct hwrtc* -hwrtc_choose() -{ - struct hwrtc* rtc = mc146818a_rtc_context(); - - return rtc; } \ No newline at end of file