aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/freemem.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-14 16:16:53 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-14 16:16:53 +0100
commit57c5eceb846f3109d017b4e6d4cbd7c507c0d098 (patch)
treed4aa0917310a5ad7925736f9dadc07bcb5734383 /src/kernel/core/freemem.c
parentf574c22f86d90f735107fda199bb5b4982cd9621 (diff)
downloadkogata-57c5eceb846f3109d017b4e6d4cbd7c507c0d098.tar.gz
kogata-57c5eceb846f3109d017b4e6d4cbd7c507c0d098.zip
Begin implement escape sequence handling in terminal.
Diffstat (limited to 'src/kernel/core/freemem.c')
-rw-r--r--src/kernel/core/freemem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/core/freemem.c b/src/kernel/core/freemem.c
index 153ec7a..18cc740 100644
--- a/src/kernel/core/freemem.c
+++ b/src/kernel/core/freemem.c
@@ -1,8 +1,10 @@
#include <freemem.h>
#include <thread.h>
#include <debug.h>
+#include <frame.h>
void free_some_memory() {
+ dbg_print_frame_stats();
dbg_printf("Currently out of memory ; free_some_memory not implemented. Waiting.\n");
usleep(1000000); // Hope someone will do something...
}