Clarify the usage of ostd::arch

This commit is contained in:
Zejun Zhao
2025-04-06 20:29:34 +08:00
committed by Tate, Hongliang Tian
parent 4baff8e17b
commit 3aa1079ca6
18 changed files with 24 additions and 37 deletions

View File

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