mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
Support pluggable output sinks for Printf with a ring-buffer fallback
The implementation of Printf has been moved from the early package to the kfmt package. The dependency to ActiveTerminal has been removed and the code now uses an io.Writer for its output. As Go interfaces cannot be used before bootstrapping the Go runtime, the code uses a ring-buffer fallback for storing any kernel output emitted before that point.
This commit is contained in:
Reference in New Issue
Block a user