mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 22:46:31 +00:00
内核:在lib.rs中,将arch模块的路径进行更改,使得其他模块使用arch的代码时,不需要指定arch::x86_64 (#128)
This commit is contained in:
@ -8,7 +8,7 @@ pub struct rtc_time_t {
|
||||
}
|
||||
|
||||
use crate::{
|
||||
arch::x86_64::interrupt::{cli, sti},
|
||||
arch::interrupt::{cli, sti},
|
||||
include::bindings::bindings::{io_in8, io_out8},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user