diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-09-01 23:45:47 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-09-01 23:45:47 +0200 |
| commit | 11ced165e0df11cc3c889eb0cc402467361c421b (patch) | |
| tree | ba6456fdae72e0deff0130612f226cd5d94aea17 /kernel/src/main.c | |
| parent | 9a54c41ad07ec00316bb8fcdeba51c215446d454 (diff) | |
timer & stdbuff
Diffstat (limited to 'kernel/src/main.c')
| -rw-r--r-- | kernel/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/src/main.c b/kernel/src/main.c index ce307e2..c575a0e 100644 --- a/kernel/src/main.c +++ b/kernel/src/main.c @@ -1,5 +1,4 @@ #include <types.h> - #include <multiboot2.h> #include <graphics.h> #include <idt.h> @@ -11,12 +10,14 @@ #include <libk/math.h> #include <disc.h> #include <ext2.h> +#include <timer.h> int kernel_main(mb2_tag_header* multiboot_bootinfo, uint32_t multiboot_magic); int kernel_main(mb2_tag_header* multiboot_bootinfo, uint32_t multiboot_magic) { init_paging(); init_idt(); + init_timer(TICKS_PER_SECOND); init_heap(); read_mb2(multiboot_bootinfo, multiboot_magic); |
