aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/mod.rs
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@mailbox.org>2024-05-30 09:37:57 +0200
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:17:11 +0200
commit2335398b704e1fb2fa561f7dd115f89c69c58bb7 (patch)
treed2721d77e4f4e6f1aa9c65f7202b1c1ce94b86e2 /src/arch/x86_64/mod.rs
parent714e69d281e8b61d4214cea1c7e0a33a2f9cde71 (diff)
mm: add basic paging infra from x86_64 crate
the x86_64 crate is pretty solid and has a permissive license (Apache/MIT), but I want to make this myself in the future to "experience" the unsafe rust further....Also it has too many abstractions, which is justified as a library, but not ideal for a from sctrach toy OS as it hides the lower end. Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
Diffstat (limited to 'src/arch/x86_64/mod.rs')
-rw-r--r--src/arch/x86_64/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86_64/mod.rs b/src/arch/x86_64/mod.rs
index 4da1970..888cafd 100644
--- a/src/arch/x86_64/mod.rs
+++ b/src/arch/x86_64/mod.rs
@@ -3,3 +3,4 @@ pub mod interrupt;
pub mod io_port;
pub mod mem;
pub mod misc;
+pub mod paging;