From 5f0475e159428e50e58f3772d6a759ff86b7b55a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 8 Nov 2019 23:13:51 +0100 Subject: Began implementation of non-grub bootloader --- src/kernel/paging/paging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/paging/paging.c') 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); -- cgit v1.2.3