Expand description
Simple State struct; used in early boot and on a kernel panic
Authors: MarioS271
Re-exportsยง
use crate::drivers::gpu::basic_fb::font::Psf2Font;๐use crate::drivers::gpu::basic_fb::framebuffer::BasicFramebuffer;๐use crate::drivers::tty::uart::Uart;๐use crate::lib::panic::kernel_panic;๐use crate::lib::panic_codes::PanicCode;๐use crate::lib::sync::irq_mutex::IrqMutex;๐use crate::lib::sync::unchecked_cell::UncheckedCell;๐use crate::lib::types::boot_info::PanicAction;๐use core::sync::atomic::AtomicU8;๐use core::sync::atomic::Ordering;๐
Structsยง
Staticsยง
- SIMPLE_
STATE ๐ - Data structure for keeping the serial UART logger and basic_fb fb resources for early boot and panic
The default initializations should not contain any non-null value in order for
SIMPLE_STATEto be able to live in.bssto reduce binary size