Skip to main content

Module state

Module state 

Source
Expand description

kprint State, lives in KSTATE

Authors: MarioS271

Structsยง

BasicFbState
A struct which holds the basic FB state (cursor position)
KPrint
A struct which goes into KSTATE and contains an IrqMutex wrapped KPrintState and the current max_log_level and log_targets as [AtomicU8]s
KPrintConfig
Holds the kernel log configs like max log level and log targets
KPrintState
Inner, mutex-protected struct in KPrint; holds the kernel Ringbuffer aswell as the current BasicFbState
LogTargets
Where to log kernel logs from the kprint subsystem