aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/timer/timer.h
diff options
context:
space:
mode:
authorMarvin Borner2019-09-28 23:08:13 +0200
committerMarvin Borner2019-09-28 23:08:13 +0200
commitb9c103e3048d2b28a2606a3b9693ec881425a732 (patch)
tree492a1bdba84c7dc8fe5eaee5c640cf9341f120ba /src/kernel/timer/timer.h
parent4dddb5f5f8611f6df6d2ce2f019cca67a5598cdb (diff)
Added some documentation
Diffstat (limited to 'src/kernel/timer/timer.h')
-rw-r--r--src/kernel/timer/timer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/timer/timer.h b/src/kernel/timer/timer.h
index 66b3c95..635c996 100644
--- a/src/kernel/timer/timer.h
+++ b/src/kernel/timer/timer.h
@@ -1,8 +1,15 @@
#ifndef MELVIX_TIMER_H
#define MELVIX_TIMER_H
+/**
+ * Install the timer and set the timer phase to 100
+ */
void timer_install();
+/**
+ * Stop processing for specific duration
+ * @param ticks The duration of sleeping in ticks
+ */
void timer_wait(int ticks);
#endif