内核:在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

@ -1,7 +1,7 @@
use core::ptr::{read_volatile, write_volatile};
use crate::{
arch::x86_64::asm::current::current_pcb,
arch::asm::current::current_pcb,
include::bindings::bindings::{
process_control_block, sched_enqueue, PROC_RUNNING, PROC_STOPPED,
},