aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMarvin Borner2021-03-08 19:30:48 +0100
committerMarvin Borner2021-03-08 19:30:48 +0100
commit38cfba2f71bfa9bdea562cb6465b9dc0155fc467 (patch)
treefd2e4fccc637135fe2934c35ce697af16b2a5831 /kernel
parent776f1da4686d57dfa1c398d3b875d174fe6082c6 (diff)
Better randomization (soon: random memory locs)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 2e2e030..f0bfc3c 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -37,6 +37,7 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info)
cpu_enable_features();
cpu_print();
+ srand(rdseed());
// Install drivers
vfs_install();