From eed77bd2970a00d1394ed027ceca5b646e4671ce Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:31:46 +0200 Subject: Started rewrite --- src/kernel/timer/timer.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/kernel/timer/timer.h (limited to 'src/kernel/timer/timer.h') diff --git a/src/kernel/timer/timer.h b/src/kernel/timer/timer.h deleted file mode 100644 index 7b0401e..0000000 --- a/src/kernel/timer/timer.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef MELVIX_TIMER_H -#define MELVIX_TIMER_H - -#include -#include - -void timer_handler(struct regs *r); - -/** - * 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); - -/** - * Get the current timer ticks - * @return The current timer ticks (1000 ticks = 1 second) - */ -u32 get_time(); - -#endif \ No newline at end of file -- cgit v1.2.3