Luna/kernel
apio 4768d5fc12 ELFLoader: Consider the offset when calculating how many pages to map
If a section needs to be mapped at 0x50f50 and its size is 0x200, then that address space exceeds one page.
But since 0x200 is less than one page, we only map one page.

If we count the offset, 0xf50 + 0x200 need two pages. So we can map the right amount of memory.
2022-10-12 14:40:06 +02:00
..
include Kernel/Utilities: add a new get_top_of_stack convenience function 2022-10-12 13:17:58 +02:00
src ELFLoader: Consider the offset when calculating how many pages to map 2022-10-12 14:40:06 +02:00
Makefile Change build system to accept arbitrary CFLAGS during the build process 2022-10-12 14:31:41 +02:00
moon.ld Start the call stack with a null RBP before calling _start 2022-09-18 17:03:29 +02:00