summaryrefslogtreecommitdiffstats
path: root/core/include/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/core.h')
-rw-r--r--core/include/core.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/include/core.h b/core/include/core.h
index eb7bfcdb..7db5dafe 100644
--- a/core/include/core.h
+++ b/core/include/core.h
@@ -65,10 +65,14 @@ __noreturn _kaboom(void);
/*
* Basic timer function...
*/
-extern volatile uint32_t __jiffies;
+extern volatile uint32_t __jiffies, __ms_timer;
static inline uint32_t jiffies(void)
{
return __jiffies;
}
+static inline uint32_t ms_timer(void)
+{
+ return __ms_timer;
+}
#endif /* CORE_H */