mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 17:26:31 +00:00
使用rust重构softirq机制;解决Rtc驱动的编译警告问题 (#138)
* 使用rust重构softirq机制 * 解决Rtc驱动的编译警告问题 Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#![feature(alloc_error_handler)]
|
||||
#![feature(panic_info_message)]
|
||||
#![feature(drain_filter)] // 允许Vec的drain_filter特性
|
||||
|
||||
#![feature(c_void_variant)] //not stable, used in /home/su/Documents/VSCode/DragonOS/kernel/src/exception/softirq.rs
|
||||
#[allow(non_upper_case_globals)]
|
||||
#[allow(non_camel_case_types)]
|
||||
#[allow(non_snake_case)]
|
||||
@ -28,6 +28,7 @@ mod process;
|
||||
mod sched;
|
||||
mod smp;
|
||||
mod time;
|
||||
mod exception;
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
|
Reference in New Issue
Block a user