diff options
author | Marvin Borner | 2019-11-08 23:13:51 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-08 23:13:51 +0100 |
commit | 5f0475e159428e50e58f3772d6a759ff86b7b55a (patch) | |
tree | db2610eb6a6613ecba2958f3277b9ec68ee144d6 /src/kernel/paging/paging.c | |
parent | dd8c010755a3044f0832c7e732e1e3cdedb4a2ac (diff) |
Began implementation of non-grub bootloader
Diffstat (limited to 'src/kernel/paging/paging.c')
-rw-r--r-- | src/kernel/paging/paging.c | 2 |
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); |