X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/f6ab9c9ababa2cf6e5c723b83ffb9362094054e8..5aac681ee637d268960316d121129f95591339da:/lunaix-os/includes/hal/hwtimer.h?ds=sidebyside diff --git a/lunaix-os/includes/hal/hwtimer.h b/lunaix-os/includes/hal/hwtimer.h index 83ff92c..3a55d6d 100644 --- a/lunaix-os/includes/hal/hwtimer.h +++ b/lunaix-os/includes/hal/hwtimer.h @@ -12,6 +12,7 @@ struct hwtimer char* name; void* data; + struct devclass class; struct device* timer_dev; int (*supported)(struct hwtimer*); @@ -21,8 +22,6 @@ struct hwtimer ticks_t running_freq; }; -extern struct hwtimer* current_timer; - void hwtimer_init(u32_t hertz, void* tick_callback);