90f8474fc1
So, one thing that's puzzled me is why the kernel seemed to *not* use the direct code address ranges in some cases for some service functions. For example, in svcMapMemory, the full address space width is compared against for validity, but for svcMapSharedMemory, it compares against 0xFFE00000, 0xFF8000000, and 0x7FF8000000 as upper bounds, and uses either 0x200000 or 0x8000000 as the lower-bounds as the beginning of the compared range. Coincidentally, these exact same values are also used in svcGetInfo, and also when initializing the user address space, so this is actually retrieving the ASLR extents, not the extents of the address space in general. |
||
---|---|---|
.. | ||
address_arbiter.cpp | ||
address_arbiter.h | ||
client_port.cpp | ||
client_port.h | ||
client_session.cpp | ||
client_session.h | ||
errors.h | ||
event.cpp | ||
event.h | ||
handle_table.cpp | ||
handle_table.h | ||
hle_ipc.cpp | ||
hle_ipc.h | ||
kernel.cpp | ||
kernel.h | ||
mutex.cpp | ||
mutex.h | ||
object.cpp | ||
object.h | ||
process.cpp | ||
process.h | ||
resource_limit.cpp | ||
resource_limit.h | ||
scheduler.cpp | ||
scheduler.h | ||
server_port.cpp | ||
server_port.h | ||
server_session.cpp | ||
server_session.h | ||
session.cpp | ||
session.h | ||
shared_memory.cpp | ||
shared_memory.h | ||
svc_wrap.h | ||
svc.cpp | ||
svc.h | ||
thread.cpp | ||
thread.h | ||
timer.cpp | ||
timer.h | ||
vm_manager.cpp | ||
vm_manager.h | ||
wait_object.cpp | ||
wait_object.h |