From 6c4c19a95c77f6cf4c3df6cab5ff48b6e75b15a8 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 12 Jan 2021 19:57:42 -0700 Subject: [PATCH] Move consts to arch --- src/{ => arch/x86_64}/consts.rs | 0 src/arch/x86_64/mod.rs | 3 +++ src/lib.rs | 3 --- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{ => arch/x86_64}/consts.rs (100%) 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;