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: fstat now handle symbolic link
[lunaix-os.git]
/
lunaix-os
/
hal
/
timer
/
apic_timer.c
diff --git
a/lunaix-os/hal/timer/apic_timer.c
b/lunaix-os/hal/timer/apic_timer.c
index 15b3e827ef2f14ad064f7432ac49224527ebde22..c52cebe5d03210d0cbde466b213c7b6fee97db55 100644
(file)
--- a/
lunaix-os/hal/timer/apic_timer.c
+++ b/
lunaix-os/hal/timer/apic_timer.c
@@
-151,6
+151,8
@@
struct hwtimer*
apic_hwtimer_context()
{
static struct hwtimer apic_hwt = { .name = "apic_timer",
+ .class = DEVCLASS(
+ DEVIF_SOC, DEVFN_TIME, DEV_TIMER, 0),
.init = apic_timer_init,
.supported = apic_timer_check,
.systicks = apic_get_systicks };