kernel: Turn off console logging before starting the init process
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
apio 2023-01-08 15:32:59 +01:00
parent a620b00b18
commit b0e5d02c9a
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -71,6 +71,9 @@ Result<void> init()
CPU::platform_finish_init(); CPU::platform_finish_init();
// Disable console logging before transferring control to userspace.
setup_log(log_debug_enabled(), log_serial_enabled(), false);
CPU::enable_interrupts(); CPU::enable_interrupts();
return {}; return {};