diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-09-14 17:37:48 -0500 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-09-14 17:37:48 -0500 |
commit | 5a7617e4d524a74a4fb21f956fead71e789c454c (patch) | |
tree | 84832f1826f156d4ec54222c238fa247e4b09f34 /crates/kernel/src/arch/riscv64/mod.rs | |
parent | ec991590e4e3b92e407060410ff33525dc740988 (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.rs | 6 |
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 { |