summaryrefslogtreecommitdiff
path: root/crates/kernel/src/arch/mod.rs
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-09-14 17:37:48 -0500
committerNathan Ringo <nathan@remexre.com>2024-09-14 17:37:48 -0500
commit5a7617e4d524a74a4fb21f956fead71e789c454c (patch)
tree84832f1826f156d4ec54222c238fa247e4b09f34 /crates/kernel/src/arch/mod.rs
parentec991590e4e3b92e407060410ff33525dc740988 (diff)
Start of a platform-independent paging interface.
Diffstat (limited to 'crates/kernel/src/arch/mod.rs')
-rw-r--r--crates/kernel/src/arch/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/kernel/src/arch/mod.rs b/crates/kernel/src/arch/mod.rs
index 1afe41c..bfdfcc7 100644
--- a/crates/kernel/src/arch/mod.rs
+++ b/crates/kernel/src/arch/mod.rs
@@ -9,6 +9,3 @@ cfg_if::cfg_if! {
compile_error!("unsupported platform");
}
}
-
-/// The size of a regular-sized page of memory.
-pub const PAGE_SIZE: usize = 1 << PAGE_SIZE_BITS;