Redefine the TTY driver interface

This commit is contained in:
Ruihan Li
2025-05-03 23:31:54 +08:00
committed by Tate, Hongliang Tian
parent 5a9a63e1a7
commit 67065835ef
17 changed files with 469 additions and 523 deletions

View File

@ -24,7 +24,7 @@ pub struct FramebufferConsole {
state: SpinLock<ConsoleState, LocalIrqDisabled>,
}
pub static CONSOLE_NAME: &str = "Framebuffer-Console";
pub const CONSOLE_NAME: &str = "Framebuffer-Console";
pub static FRAMEBUFFER_CONSOLE: Once<Arc<FramebufferConsole>> = Once::new();