stivale2: Clear terminal before passing control to kernel

This commit is contained in:
mintsuki 2021-04-11 10:15:14 +02:00
parent 9ab0beea54
commit c011339c0c
1 changed files with 3 additions and 0 deletions

View File

@ -463,6 +463,9 @@ skip_modeset:;
break; 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, stivale_spinup(bits, level5pg && level5pg_requested, &pagemap,
entry_point, &stivale2_struct, stivale2_hdr.stack); entry_point, &stivale2_struct, stivale2_hdr.stack);
} }