From b38d90b5cacee9bfc775f1fa4b31c5863654c5e8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 6 Dec 2014 20:05:02 +0100 Subject: Add kernel stack protector. Find bug. Correct it. --- kernel/include/slab_alloc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/include') 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 #define ASSERT assert #define PAGE_SIZE 0x1000 +#include +#define dbg_printf printf #else #include // this is macroscope +#include #endif // expected format for the array of slab_type_t given to slab_create : -- cgit v1.2.3