diff options
Diffstat (limited to 'rsnix/src/paging.rs')
| -rw-r--r-- | rsnix/src/paging.rs | 2 |
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 | ||
| 15 | use crate::memory::{alloc_pages, free_pages, PAGE_SIZE}; | 15 | use crate::memory::{PAGE_SIZE, alloc_pages, free_pages}; |
| 16 | 16 | ||
| 17 | pub const PAGE_PRESENT: u64 = 1 << 0; | 17 | pub const PAGE_PRESENT: u64 = 1 << 0; |
| 18 | pub const PAGE_WRITABLE: u64 = 1 << 1; | 18 | pub const PAGE_WRITABLE: u64 = 1 << 1; |
