diff options
author | Marvin Borner | 2020-06-17 18:31:46 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-17 18:31:46 +0200 |
commit | eed77bd2970a00d1394ed027ceca5b646e4671ce (patch) | |
tree | c44643d98aed2b6818f2b33417c0dea9c5853094 /src/kernel/timer/timer.h | |
parent | 49dfa1f4021026bf7c4d77817959c8aa24067016 (diff) |
Started rewrite
Diffstat (limited to 'src/kernel/timer/timer.h')
-rw-r--r-- | src/kernel/timer/timer.h | 26 |
1 files changed, 0 insertions, 26 deletions
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 <interrupts/interrupts.h> -#include <stdint.h> - -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 |