apio
4768d5fc12
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. |
||
---|---|---|
.. | ||
elf | ||
mem.cpp | ||
paint.cpp | ||
rand.cpp | ||
sched.cpp | ||
stdio.cpp | ||
Syscall.cpp |