From b9c103e3048d2b28a2606a3b9693ec881425a732 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 28 Sep 2019 23:08:13 +0200 Subject: Added some documentation --- src/kernel/timer/timer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/kernel/timer/timer.h') 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 -- cgit v1.2.3