From c011339c0ca4b828082a4cc8337e8ea4273696ff Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sun, 11 Apr 2021 10:15:14 +0200 Subject: [PATCH] stivale2: Clear terminal before passing control to kernel --- stage23/protos/stivale2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stage23/protos/stivale2.c b/stage23/protos/stivale2.c index c8d119c1..752dfe7e 100644 --- a/stage23/protos/stivale2.c +++ b/stage23/protos/stivale2.c @@ -463,6 +463,9 @@ skip_modeset:; break; } + // Clear terminal for kernels that will use the stivale2 terminal + term_write("\e[2J\e[H", 7); + stivale_spinup(bits, level5pg && level5pg_requested, &pagemap, entry_point, &stivale2_struct, stivale2_hdr.stack); }