Add log crate and add a generic logger.
This is the first step of integrating the log crate as the main way to
log messages from the kernel.
Also, reexport all log macros. This module should eventually be the
only logging API used in the kernel.
Signed-off-by:
Wren Turkal <wt@penguintechs.org>
... | ... | @@ -12,6 +12,7 @@ crate-type = ["staticlib"] |
[dependencies] | ||
bitflags = "1.2.1" | ||
linked_list_allocator = "0.8.4" | ||
log = { version = "0.4" } | ||
raw-cpuid = "8.0.0" | ||
redox_syscall = { path = "syscall" } | ||
slab_allocator = { path = "slab_allocator", optional = true } | ||
... | ... |
Please register or sign in to comment