summaryrefslogtreecommitdiff
path: root/stage3/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/main.c')
-rw-r--r--stage3/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stage3/main.c b/stage3/main.c
index fd18d6c..abbd33b 100644
--- a/stage3/main.c
+++ b/stage3/main.c
@@ -15,6 +15,7 @@
#include "fs.h"
#include "gfx.h"
#include "clock.h"
+#include "rng.h"
char keymap[256] = { '\0' };
@@ -126,6 +127,8 @@ void kmain()
print_num_pad(features, 2, 32, '0');
print(S("\n"));
+ srand(clock_cycles());
+
interrupts_init();
pic_init();
thread_init();