Expand description
kprint State, lives in KSTATE
Authors: MarioS271
Re-exportsยง
use super::ringbuffer::Ringbuffer;๐use crate::kprint::log_entry::LogLevel;๐use crate::lib::macros::bitflags::bitflags;๐use crate::lib::sync::irq_mutex::IrqMutex;๐use crate::lib::sync::irq_mutex::IrqMutexGuard;๐use core::sync::atomic::AtomicU8;๐use core::sync::atomic::Ordering;๐
Structsยง
- Basic
FbState - A struct which holds the basic FB state (cursor position)
- KPrint
- A struct which goes into
KSTATEand contains anIrqMutexwrappedKPrintStateand the currentmax_log_levelandlog_targetsas [AtomicU8]s - KPrint
Config - Holds the kernel log configs like max log level and log targets
- KPrint
State - Inner, mutex-protected struct in
KPrint; holds the kernelRingbufferaswell as the currentBasicFbState - LogTargets
- Where to log kernel logs from the
kprintsubsystem