kern
diff src/main.c @ 32:2cb5ab18e76e
merged the task bits, not completed
also removed the memory-manager debugging calls from main
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 May 2011 08:06:47 +0300 |
parents | 3ed041d07ae1 |
children | 928b0ebfff4d |
line diff
1.1 --- a/src/main.c Fri May 27 13:08:23 2011 +0300 1.2 +++ b/src/main.c Sat May 28 08:06:47 2011 +0300 1.3 @@ -66,26 +66,6 @@ 1.4 /* initialization complete, enable interrupts */ 1.5 enable_intr(); 1.6 1.7 - dbg_print_vm(MEM_USER); 1.8 - dbg_print_vm(MEM_KERNEL); 1.9 - 1.10 - { 1.11 - void *foo, *bar, *xyzzy, *koko, *lala; 1.12 - 1.13 - foo = malloc(128); 1.14 - bar = malloc(32 * 1024); 1.15 - xyzzy = malloc(8000); 1.16 - 1.17 - free(bar); 1.18 - 1.19 - koko = malloc(700); 1.20 - lala = malloc(6 * 1024 * 1024); 1.21 - 1.22 - free(xyzzy); 1.23 - free(foo); 1.24 - free(koko); 1.25 - free(lala); 1.26 - } 1.27 1.28 for(;;) { 1.29 char c, keypress;