内核:在lib.rs中,将arch模块的路径进行更改,使得其他模块使用arch的代码时,不需要指定arch::x86_64 (#128)

This commit is contained in:
login
2022-12-26 13:13:12 +08:00
committed by GitHub
parent ac643d420b
commit adc1846b06
11 changed files with 17 additions and 14 deletions

View File

@ -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},
};