summaryrefslogtreecommitdiff
path: root/crates/kernel/src/arch/riscv64/mod.rs
diff options
context:
space:
mode:
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 {