From 5a7617e4d524a74a4fb21f956fead71e789c454c Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Sat, 14 Sep 2024 17:37:48 -0500 Subject: Start of a platform-independent paging interface. --- crates/kernel/src/arch/riscv64/mod.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/kernel/src/arch/riscv64/mod.rs') 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 { -- cgit v1.2.3