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/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'crates/kernel/src/arch/mod.rs') 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; -- cgit v1.2.3