kern
diff src/main.c @ 27:7795225808b3
moved enable_intr out of init_intr and after the kernel initialization is completed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 09 Apr 2011 07:22:27 +0300 |
parents | 387078ef5c0d |
children | 3ed041d07ae1 |
line diff
1.1 --- a/src/main.c Sat Apr 09 07:14:06 2011 +0300 1.2 +++ b/src/main.c Sat Apr 09 07:22:27 2011 +0300 1.3 @@ -5,6 +5,7 @@ 1.4 #include "asmops.h" 1.5 #include "segm.h" 1.6 #include "intr.h" 1.7 +#include "mem.h" 1.8 #include "vm.h" 1.9 1.10 static void do_nothing(); 1.11 @@ -62,6 +63,9 @@ 1.12 /* initialize paging and the virtual memory manager */ 1.13 init_vm(); 1.14 1.15 + /* initialization complete, enable interrupts */ 1.16 + enable_intr(); 1.17 + 1.18 dbg_print_vm(MEM_USER); 1.19 dbg_print_vm(MEM_KERNEL); 1.20