aboutsummaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 20:05:02 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 20:05:02 +0100
commitb38d90b5cacee9bfc775f1fa4b31c5863654c5e8 (patch)
tree4e8c8eecbdc49dff1d2352eae177eb855ac1d53b /kernel/include
parenta48466109f59d507f9108635a5dc4ec865173f85 (diff)
downloadkogata-b38d90b5cacee9bfc775f1fa4b31c5863654c5e8.tar.gz
kogata-b38d90b5cacee9bfc775f1fa4b31c5863654c5e8.zip
Add kernel stack protector. Find bug. Correct it.
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/slab_alloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/slab_alloc.h b/kernel/include/slab_alloc.h
index 5355a66..eb9588d 100644
--- a/kernel/include/slab_alloc.h
+++ b/kernel/include/slab_alloc.h
@@ -13,8 +13,11 @@
#include <assert.h>
#define ASSERT assert
#define PAGE_SIZE 0x1000
+#include <stdio.h>
+#define dbg_printf printf
#else
#include <sys.h> // this is macroscope
+#include <dbglog.h>
#endif
// expected format for the array of slab_type_t given to slab_create :