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

View File

@ -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);
}