diff --git a/src/consts.rs b/src/arch/x86_64/consts.rs similarity index 100% rename from src/consts.rs rename to src/arch/x86_64/consts.rs diff --git a/src/arch/x86_64/mod.rs b/src/arch/x86_64/mod.rs index 1382c6c..7343d45 100644 --- a/src/arch/x86_64/mod.rs +++ b/src/arch/x86_64/mod.rs @@ -1,6 +1,9 @@ #[macro_use] pub mod macros; +/// Constants like memory locations +pub mod consts; + /// Debugging support pub mod debug; diff --git a/src/lib.rs b/src/lib.rs index d046a3c..38452b7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,9 +86,6 @@ pub use crate::arch::*; use crate::log::info; -/// Constants like memory locations -pub mod consts; - /// Heap allocators pub mod allocator;