mirror of https://gitlab.com/nakst/essence
When offset2 != 0 it doesn't necessarily mean that we need an extra page. Fix calculation to map extra page only when necesarry. This is needed as next page may be unavailable like when available RAM follows XSDT and hence not available for mapping. |
||
---|---|---|
.. | ||
cache.cpp | ||
config.ini | ||
drivers.cpp | ||
elf.cpp | ||
files.cpp | ||
graphics.cpp | ||
kernel.h | ||
main.cpp | ||
memory.cpp | ||
module.h | ||
networking.cpp | ||
objects.cpp | ||
posix.cpp | ||
scheduler.cpp | ||
symbols.cpp | ||
synchronisation.cpp | ||
syscall.cpp | ||
terminal.cpp | ||
windows.cpp |