diff --git a/kernel/src/Log.cpp b/kernel/src/Log.cpp index 005dcef3..ec884832 100644 --- a/kernel/src/Log.cpp +++ b/kernel/src/Log.cpp @@ -26,6 +26,7 @@ static void log_serial(LogLevel level, const char* format, va_list origin) Serial::printf("%4zu.%.3zu ", Timer::ticks(), Timer::ticks_ms() - (Timer::ticks() * 1000)); + // FIXME: We do this manually because of a lack of vprintf() in both Serial and TextConsole. pure_cstyle_format( format, [](char c, void*) { Serial::putchar((u8)c); }, nullptr, ap); @@ -50,6 +51,7 @@ static void log_text_console(LogLevel level, const char* format, va_list origin) else TextConsole::set_foreground(WHITE); + // FIXME: Same as above. pure_cstyle_format( format, [](char c, void*) { TextConsole::putchar(c); }, nullptr, ap);