yuzu/src/core/hle/kernel
Lioncash 90f8474fc1 svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
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.
2018-10-14 20:11:16 -04:00
..
address_arbiter.cpp
address_arbiter.h
client_port.cpp
client_port.h
client_session.cpp
client_session.h
errors.h svc: Add missing address range sanitizing checks to MapMemory/UnmapMemory 2018-10-10 20:30:49 -04:00
event.cpp
event.h
handle_table.cpp
handle_table.h
hle_ipc.cpp
hle_ipc.h
kernel.cpp kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
kernel.h kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
mutex.cpp
mutex.h
object.cpp kernel/process: Make CodeSet a regular non-inherited object 2018-10-12 12:07:32 -04:00
object.h kernel/process: Make CodeSet a regular non-inherited object 2018-10-12 12:07:32 -04:00
process.cpp kernel/process: Make CodeSet a regular non-inherited object 2018-10-12 12:07:32 -04:00
process.h svc: Implement svcGetProcessInfo 2018-10-13 17:00:43 -04:00
resource_limit.cpp
resource_limit.h
scheduler.cpp kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
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: Implement svcGetProcessInfo 2018-10-13 17:00:43 -04:00
svc.cpp svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo() 2018-10-14 20:11:16 -04:00
svc.h svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo() 2018-10-14 20:11:16 -04:00
thread.cpp thread: Remove unnecessary memset from ResetThreadContext() 2018-10-12 10:57:31 -04:00
thread.h kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
timer.cpp
timer.h
vm_manager.cpp svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo() 2018-10-14 20:11:16 -04:00
vm_manager.h svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo() 2018-10-14 20:11:16 -04:00
wait_object.cpp
wait_object.h