X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8efc0cf32160c68772a2ce1887e6a397852d3d96..6f6da1abb22dff69dbb710bd2fd9d95f083f2b43:/lunaix-os/hal/timer/apic_timer.c?ds=sidebyside diff --git a/lunaix-os/hal/timer/apic_timer.c b/lunaix-os/hal/timer/apic_timer.c index 15b3e82..c52cebe 100644 --- 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 };