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
add lunaix dynamic linker as submodule
[lunaix-os.git]
/
lunaix-os
/
includes
/
hal
/
hwtimer.h
diff --git
a/lunaix-os/includes/hal/hwtimer.h
b/lunaix-os/includes/hal/hwtimer.h
index efa72d8f2d995ce16f2c286648332281f43929dd..bf0595d7df0a177fdab5562e862cfea20f762860 100644
(file)
--- a/
lunaix-os/includes/hal/hwtimer.h
+++ b/
lunaix-os/includes/hal/hwtimer.h
@@
-18,6
+18,8
@@
struct hwtimer_context
ticks_t running_freq;
};
+extern struct hwtimer_context* current_timer;
+
void
hwtimer_init(u32_t hertz, void* tick_callback);