diff options
Diffstat (limited to 'kern/kernel.c')
| -rw-r--r-- | kern/kernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/kernel.c b/kern/kernel.c index c5b60c7..057b6fe 100644 --- a/kern/kernel.c +++ b/kern/kernel.c @@ -24,13 +24,14 @@ #include <assert.h> #include <common.h> -#include <pts.h> #include <interrupt.h> #include <mm.h> #include <paging.h> +#include <pts.h> #include <pv.h> #include <sched.h> #include <timer.h> +#include <toad.h> void print_toad(); @@ -61,6 +62,7 @@ int kernel_main(mbinfo_t* mbinfo, int argc, char** argv, char** envp) { setup_kth(&kthread, &kprocess); set_mapped_phys_page(mapped_phys_pages); set_mapped_phys_page_pte(mapped_phys_page_ptes); + setup_pts(); idt_init(); mm_init(); |
