summaryrefslogtreecommitdiffstats
path: root/rsnix/src/paging.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rsnix/src/paging.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsnix/src/paging.rs b/rsnix/src/paging.rs
index 766bde3..d786dee 100644
--- a/rsnix/src/paging.rs
+++ b/rsnix/src/paging.rs
@@ -12,7 +12,7 @@
12// refcounting) — fine for a kernel that owns all memory. 12// refcounting) — fine for a kernel that owns all memory.
13// --------------------------------------------------------------------------- 13// ---------------------------------------------------------------------------
14 14
15use crate::memory::{alloc_pages, free_pages, PAGE_SIZE}; 15use crate::memory::{PAGE_SIZE, alloc_pages, free_pages};
16 16
17pub const PAGE_PRESENT: u64 = 1 << 0; 17pub const PAGE_PRESENT: u64 = 1 << 0;
18pub const PAGE_WRITABLE: u64 = 1 << 1; 18pub const PAGE_WRITABLE: u64 = 1 << 1;