Searched refs:VirtConsole (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | mod.rs | 67 pub struct VirtConsole { struct 78 impl VirtConsole { argument 138 consoles: HashMap<usize, Arc<VirtConsole>>, 144 current_vc: RwLock<Option<(Arc<VirtConsole>, usize)>>, 160 pub fn get(&self, index: usize) -> Option<Arc<VirtConsole>> { in get() argument 165 pub fn alloc(&self, vc: Arc<VirtConsole>) -> Option<usize> { in alloc() 187 pub fn current_vc(&self) -> Option<Arc<VirtConsole>> { in current_vc() argument 202 pub fn set_current_vc(&self, vc: Arc<VirtConsole>) { in set_current_vc() argument 212 pub fn lookup_vc_by_tty_name(&self, name: &str) -> Option<Arc<VirtConsole>> { in lookup_vc_by_tty_name() argument 303 fn do_install(&self, tty: Arc<TtyCore>, vc: &Arc<VirtConsole>) -> Result<(), SystemError> { in do_install() [all …]
|
/DragonOS/kernel/src/driver/tty/ |
H A D | console.rs | 6 VirtConsole, 14 vc: &Arc<VirtConsole>, in con_init() argument
|
/DragonOS/kernel/src/driver/video/console/ |
H A D | dummycon.rs | 10 VirtConsole, 57 vc: &Arc<VirtConsole>, in con_init() argument
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 27 virtual_terminal::{vc_manager, virtual_console::VirtualConsoleData, VirtConsole}, 351 vc: Arc<VirtConsole>, in do_install() argument 412 let vc = VirtConsole::new(Some(vc_data)); in install()
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 11 Color, VirtConsole, 177 _vc: &Arc<VirtConsole>, in con_init() argument
|