[kernel] Revive the debugcon logger as a kernel thread

The debugcon logger is now separate from logger::output, and is instead
a kernel-internal thread that watches for logs and prints them to the
deubcon device.
This commit is contained in:
Justin C. Miller
2023-02-08 22:32:01 -08:00
parent 71069cb38b
commit f05a1d3310
11 changed files with 124 additions and 9 deletions

View File

@@ -274,8 +274,8 @@ class Module:
build.default(dump)
def add_input(self, path, **kwargs):
from .source import Source
s = Source(self.root, path, **kwargs)
from .source import make_source
s = make_source(self.root, path, **kwargs)
self.sources.append(s)
return s.outputs