Luna/kernel/src
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
..
acpi Cast %p usage to void* 2022-10-08 18:27:05 +02:00
cpu LOTS MORE LOGGING. which is great, of course. 2022-09-07 19:41:08 +02:00
fs Devices: Tell a device which name you want it to be instantiated with 2022-10-12 10:54:46 +02:00
gdt Kernel: More GDT refactoring 2022-10-12 13:12:46 +02:00
init Add initrd_mkdir to registered directories in the initrd 2022-10-11 18:25:11 +02:00
interrupts Kernel: Add functions to push and pop the interrupt state 2022-10-12 12:58:56 +02:00
io I'm so dumb 2022-10-06 18:04:32 +02:00
log Separate the logging stack into toggleable backends, to disable console logging once boot finishes. 2022-10-01 15:35:11 +02:00
memory VMM: Add FIXME 2022-10-12 14:35:34 +02:00
misc Kernel/Utilities: add a new get_top_of_stack convenience function 2022-10-12 13:17:58 +02:00
panic Kernel: enable -Wconversion 2022-10-06 17:13:34 +02:00
rand Update config.h to use a .cpp file that will be recompiled when it changes 2022-09-20 16:30:34 +02:00
render Kernel: Add a FIXME 2022-10-11 21:21:27 +02:00
std Forgot to add break :) 2022-10-08 18:08:50 +02:00
sys ELFLoader: Consider the offset when calculating how many pages to map 2022-10-12 14:40:06 +02:00
thread Scheduler: add FIXME 2022-10-12 14:30:57 +02:00
trace Kernel, libc, userspace: Implement file descriptors 2022-10-10 20:21:39 +02:00
main.asm Kernel: Add Utilities::get_rflags(), and thus Interrupts::are_enabled() 2022-10-12 12:56:55 +02:00
main.cpp Kernel: Mounting /dev MUST succeed 2022-10-11 19:53:55 +02:00