Home
last modified time | relevance | path

Searched refs:TtyDevice (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs23 …pub static ref TTY_DEVICES: RwLock<BTreeMap<String, Arc<TtyDevice>>> = RwLock::new(BTreeMap::new()…
28 pub struct TtyDevice { struct
46 impl TtyDevice { argument
47 pub fn new(name: &str) -> Arc<TtyDevice> { in new() argument
48 let result = Arc::new(TtyDevice { in new()
104 impl DeviceINode for TtyDevice { implementation
110 impl IndexNode for TtyDevice { implementation
292 let tty: Arc<TtyDevice> = TtyDevice::new("tty0"); in tty_init()
/DragonOS-0.1.8/kernel/src/libs/
Dkeyboard_parser.rs3 use crate::driver::tty::tty_device::TtyDevice;
31 tty: Arc<TtyDevice>,
36 pub fn new(tty: Arc<TtyDevice>) -> Self { in new()
76 tty: &Arc<TtyDevice>, in parse() argument
106 tty: &Arc<TtyDevice>, in handle_start() argument
128 tty: &Arc<TtyDevice>, in handle_pause_break() argument
153 tty: &Arc<TtyDevice>, in handle_func0() argument
295 tty: &Arc<TtyDevice>, in handle_type3() argument
370 fn emit(tty: &Arc<TtyDevice>, ch: u8) { in emit() argument
380 tty: &Arc<TtyDevice>, in handle_prtsc_press() argument
[all …]