mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Clarify the usage of ostd::arch
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4baff8e17b
commit
3aa1079ca6
@ -7,10 +7,7 @@ pub mod set;
|
||||
|
||||
pub use set::{AtomicCpuSet, CpuSet};
|
||||
|
||||
#[cfg(target_arch = "riscv64")]
|
||||
pub use crate::arch::riscv::cpu::*;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub use crate::arch::x86::cpu::*;
|
||||
pub use crate::arch::cpu::*;
|
||||
use crate::{cpu_local_cell, task::atomic_mode::InAtomicMode};
|
||||
|
||||
/// The ID of a CPU in the system.
|
||||
|
Reference in New Issue
Block a user