kern

diff src/main.c @ 26:387078ef5c0d

fixes here and there
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 09 Apr 2011 07:14:06 +0300
parents 5454cee245a3
children 7795225808b3
line diff
     1.1 --- a/src/main.c	Wed Apr 06 07:42:44 2011 +0300
     1.2 +++ b/src/main.c	Sat Apr 09 07:14:06 2011 +0300
     1.3 @@ -57,7 +57,10 @@
     1.4  	/* silence the blasted timer interrupt */
     1.5  	interrupt(32, do_nothing);
     1.6  
     1.7 -	init_vm(mbinf);
     1.8 +	/* initialize the physical memory manager */
     1.9 +	init_mem(mbinf);
    1.10 +	/* initialize paging and the virtual memory manager */
    1.11 +	init_vm();
    1.12  
    1.13  	dbg_print_vm(MEM_USER);
    1.14  	dbg_print_vm(MEM_KERNEL);