:: commit fc0dc17bb9d86c451321e6ace379bb3d980e1595

mintsuki <mintsuki@protonmail.com> — 2021-03-26 15:50

parents: 23bf225f63

stivale2: Remove useless KASLR related code

diff --git a/stage23/protos/stivale2.c b/stage23/protos/stivale2.c
index 80df8e19..90954ce0 100644
--- a/stage23/protos/stivale2.c
+++ b/stage23/protos/stivale2.c
@@ -9,7 +9,6 @@
 #include <lib/config.h>
 #include <lib/time.h>
 #include <lib/print.h>
-#include <lib/rand.h>
 #include <lib/real.h>
 #include <lib/libc.h>
 #include <lib/uri.h>
@@ -26,8 +25,6 @@
 #include <pxe/tftp.h>
 #include <drivers/edid.h>
 
-#define KASLR_SLIDE_BITMASK 0x000FFF000u
-
 struct stivale2_struct stivale2_struct = {0};
 
 inline static size_t get_phys_addr(uint64_t addr) {
tab: 248 wrap: offon