From bc4e62f629a392e1a4cf204665e91c57f4e619b2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 12 Feb 2021 23:39:48 +0100 Subject: Added "random" heap position --- kernel/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/main.c b/kernel/main.c index 8739a53..c20dee4 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -11,13 +11,14 @@ #include #include #include +#include #include #include #include void kernel_main(struct vid_info *vid_info) { - heap_init(0x00f00000); + heap_init(0x00f00000 + rand()); boot_passed = vid_info; -- cgit v1.2.3