diff options
author | Marvin Borner | 2021-02-12 23:39:48 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-12 23:39:48 +0100 |
commit | bc4e62f629a392e1a4cf204665e91c57f4e619b2 (patch) | |
tree | a6e95afb20a27cb764d84bc608b429106505bfaf /kernel | |
parent | 2efcd435b415defb893385b01c80947bacb97aec (diff) |
Added "random" heap position
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <mouse.h> #include <net.h> #include <pci.h> +#include <random.h> #include <serial.h> #include <syscall.h> #include <timer.h> void kernel_main(struct vid_info *vid_info) { - heap_init(0x00f00000); + heap_init(0x00f00000 + rand()); boot_passed = vid_info; |