mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Clarify the usage of ostd::arch
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4baff8e17b
commit
3aa1079ca6
@ -25,6 +25,11 @@
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[path = "arch/x86/mod.rs"]
|
||||
pub mod arch;
|
||||
#[cfg(target_arch = "riscv64")]
|
||||
#[path = "arch/riscv/mod.rs"]
|
||||
pub mod arch;
|
||||
pub mod boot;
|
||||
pub mod bus;
|
||||
|
Reference in New Issue
Block a user