git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git]
/
lunaix-os
/
arch
/
i386
/
arch.c
diff --git
a/lunaix-os/arch/i386/arch.c
b/lunaix-os/arch/i386/arch.c
index afdc88c545244422965b662816a14150e081cb34..3de802df8b71c687ff577780ed14173399f1ddc9 100644
(file)
--- 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);
}
isrm_bindiv(LUNAIX_SYS_CALL, syscall_hndlr);
}
-struct hwtimer
_context
*
+struct hwtimer*
hwtimer_choose()
{
hwtimer_choose()
{
- struct hwtimer
_context
* timer;
+ struct hwtimer* timer;
timer = apic_hwtimer_context();
if (timer->supported(timer)) {
timer = apic_hwtimer_context();
if (timer->supported(timer)) {
@@
-42,12
+42,4
@@
hwtimer_choose()
// TODO select alternatives...
panick("no timer to use.");
// 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
}
\ No newline at end of file