diff options
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 |