diff options
author | Marvin Borner | 2020-04-26 23:23:42 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-26 23:23:42 +0200 |
commit | f30c9803f05e90087e367953aa142275f8688f61 (patch) | |
tree | bea9166fad90c42ad4551094a5e6eec9098a7f19 /src/kernel/timer/timer.h | |
parent | 31f671f2137bc09e62de09142bea232c1975c76b (diff) |
Awesome new multitasking system and scheduler
Diffstat (limited to 'src/kernel/timer/timer.h')
-rw-r--r-- | src/kernel/timer/timer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kernel/timer/timer.h b/src/kernel/timer/timer.h index 389da6b..2315b62 100644 --- a/src/kernel/timer/timer.h +++ b/src/kernel/timer/timer.h @@ -1,6 +1,11 @@ #ifndef MELVIX_TIMER_H #define MELVIX_TIMER_H +#include <stdint.h> +#include <kernel/interrupts/interrupts.h> + +void timer_handler(struct regs *r); + /** * Install the timer and set the timer phase to 100 */ @@ -16,6 +21,6 @@ void timer_wait(int ticks); * Get the current timer ticks * @return The current timer ticks (1000 ticks = 1 second) */ -unsigned int get_time(); +uint32_t get_time(); #endif
\ No newline at end of file |