kalloc and kfree interface and abstraction
[cortex-from-scratch] / term.c
diff --git a/term.c b/term.c
index d1a6431..0b2f0d6 100644 (file)
--- a/term.c
+++ b/term.c
@@ -41,7 +41,6 @@
 
 static char buf[BUFSIZE];
 
-
 struct cmd {
        char * name;
        int (*function)(int argc, char ** argsv);
@@ -50,7 +49,9 @@ struct cmd {
 struct cmd builtincmds[BUILTINCMDS];
 
 int info(int argc, char ** argsv) {
-       sysinfo();
+       /* extern mem_pool_t kheap_pool;
+       kheap_info(&kheap_pool); */
+       kalloc(get_kheap());
        return 0;
 }