aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging/paging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/paging/paging.c')
-rw-r--r--src/kernel/paging/paging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/paging/paging.c b/src/kernel/paging/paging.c
index bb3b1df..a6bf5cc 100644
--- a/src/kernel/paging/paging.c
+++ b/src/kernel/paging/paging.c
@@ -19,7 +19,7 @@ void paging_install() {
// TODO: Calculate max memory
paging_set_present(0, 0x1000000);
- paging_set_used(0, ((uint32_t) end >> 12) + 1);
+ paging_set_used(0, ((uint32_t) ASM_KERNEL_END >> 12) + 1);
paging_enable();
vga_log("Installed paging", 4);