summaryrefslogtreecommitdiff
path: root/crates/kernel/src/arch/riscv64/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/riscv64/mod.rs
parentec991590e4e3b92e407060410ff33525dc740988 (diff)
Start of a platform-independent paging interface.
Diffstat (limited to 'crates/kernel/src/arch/riscv64/mod.rs')
-rw-r--r--crates/kernel/src/arch/riscv64/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/kernel/src/arch/riscv64/mod.rs b/crates/kernel/src/arch/riscv64/mod.rs
index 15f44c7..011e244 100644
--- a/crates/kernel/src/arch/riscv64/mod.rs
+++ b/crates/kernel/src/arch/riscv64/mod.rs
@@ -1,12 +1,6 @@
pub mod interrupts;
pub mod paging;
-/// The number of bits in the size of a regular-sized page of memory.
-pub const PAGE_SIZE_BITS: usize = 12;
-
-/// The number of bits in the size of the largest huge page.
-pub const MAX_PAGE_SIZE_BITS: usize = 30;
-
/// Halts the hart.
pub fn sleep_forever() -> ! {
loop {