Searched refs:KMSG (Results 1 – 4 of 4) sorted by relevance
5 use super::kmsg::KMSG;62 let mut kmsg_guard = unsafe { KMSG.as_ref().unwrap().lock_irqsave() }; in do_syslog()
18 pub static mut KMSG: Option<SpinLock<Kmsg>> = None; constant26 unsafe { KMSG = Some(kmsg) }; in kmsg_init()
11 kmsg::KMSG,73 if unsafe { KMSG.is_some() } { in log()79 unsafe { KMSG.as_ref().unwrap().lock_irqsave().push(log_message) }; in log()
598 * 将能够输出到控制台的日志级别改为日志级别枚举类,使用SpinLock控制KMSG,使用枚举类定义SYSLOG_ACTION,将do_syslog系统调用接口放在syscall.rs604 * 将KMSG接入kinfo、kdebug等