feat: fstat now handle symbolic link
[lunaix-os.git] / lunaix-os / hal / timer / apic_timer.c
index 15b3e827ef2f14ad064f7432ac49224527ebde22..c52cebe5d03210d0cbde466b213c7b6fee97db55 100644 (file)
@@ -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 };