MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / Flush

Function Flush

src/include/kernel_log.hpp:208–208  ·  view source on GitHub ↗

强制将队列中所有日志条目输出至串口

Source from the content-addressed store, hash-verified

206
207/// 强制将队列中所有日志条目输出至串口
208__always_inline auto Flush() -> void { detail::TryDrain(); }
209
210/// 绕过队列直接输出至串口(用于 panic 路径)
211__always_inline auto RawPut(const char* msg) -> void { detail::PutStr(msg); }

Callers

nothing calls this directly

Calls 1

TryDrainFunction · 0.85

Tested by

no test coverage detected