suyu/src/core/hle/kernel
Lioncash 313cc36fec kernel/vm_manager: Handle stack/TLS IO region placement better
Handles the placement of the stack a little nicer compared to the
previous code, which was off in a few ways. e.g.

The stack (new map) region, shouldn't be the width of the entire address
space if the size of the region calculation ends up being zero. It
should be placed at the same location as the TLS IO region and also have
the same size.

In the event the TLS IO region contains a size of zero, we should also
be doing the same thing. This fixes our memory layout a little bit and
also resolves some cases where assertions can trigger due to the memory
layout being incorrect.
2019-07-05 21:57:31 -04:00
..
address_arbiter.cpp Small fixes to address_arbiter to better match the IDB. 2019-03-19 20:32:46 -04:00
address_arbiter.h kernel: Make the address arbiter instance per-process 2019-03-07 23:27:51 -05:00
client_port.cpp kernel/server_session: Return a std::pair from CreateSessionPair() 2019-04-06 01:42:03 -04:00
client_port.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
client_session.cpp kernel/server_session: Make data members private 2019-03-05 20:10:07 -05:00
client_session.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
code_set.cpp kernel: Move CodeSet structure to its own source files 2019-03-20 13:07:04 -04:00
code_set.h kernel/codeset: Make CodeSet's memory data member a regular std::vector 2019-03-22 18:43:46 -04:00
errors.h kernel/handle_table: Allow process capabilities to limit the handle table size 2019-02-25 11:12:32 -05:00
handle_table.cpp kernel/handle_table: Make local variables as const where applicable 2019-02-25 11:12:38 -05:00
handle_table.h kernel/handle_table: Allow process capabilities to limit the handle table size 2019-02-25 11:12:32 -05:00
hle_ipc.cpp Merge pull request #2489 from FearlessTobi/port-4716 2019-05-24 18:23:15 -04:00
hle_ipc.h HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread 2019-05-18 19:53:39 +02:00
kernel.cpp kernel: Differentiate kernel and user processes when picking ID 2019-06-10 00:28:33 -04:00
kernel.h kernel: Differentiate kernel and user processes when picking ID 2019-06-10 00:28:33 -04:00
mutex.cpp core/hle/kernel/mutex: Remove usages of global system accessors 2019-03-14 20:55:52 -04:00
mutex.h core/hle/kernel: Make Mutex a per-process class. 2019-03-14 20:55:52 -04:00
object.cpp kernel/object: Remove unused handle type entry 2019-04-03 10:24:32 -04:00
object.h core/kernel/object: Rename ResetType enum members 2019-05-18 15:52:51 -04:00
process.cpp kernel/process: Decouple TLS handling from threads 2019-07-03 20:31:40 -04:00
process.h kernel/process: Default initialize all member variables 2019-07-03 20:31:40 -04:00
process_capability.cpp kernel/handle_table: Allow process capabilities to limit the handle table size 2019-02-25 11:12:32 -05:00
process_capability.h kernel/handle_table: Allow process capabilities to limit the handle table size 2019-02-25 11:12:32 -05:00
readable_event.cpp core/kernel/object: Rename ResetType enum members 2019-05-18 15:52:51 -04:00
readable_event.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
resource_limit.cpp kernel/resource_limit: Remove the name member from resource limits 2019-04-01 16:49:28 -04:00
resource_limit.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
scheduler.cpp kernel: Handle page table switching within MakeCurrentProcess() 2019-04-07 01:12:54 -04:00
scheduler.h kernel/scheduler: Remove unused parameter to AddThread() 2019-03-30 05:29:33 -04:00
server_port.cpp kernel/server_port: Return a std::pair from CreatePortPair() 2019-04-06 01:36:53 -04:00
server_port.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
server_session.cpp HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread 2019-05-18 19:53:39 +02:00
server_session.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
session.cpp Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
session.h kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00
shared_memory.cpp kernel/shared_memory: Remove unused core/memory.h include 2019-03-29 18:16:22 -04:00
shared_memory.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00
svc.cpp Merge pull request #2482 from DarkLordZach/prepo 2019-06-21 14:05:18 -04:00
svc.h kernel/svc: Deglobalize the supervisor call handlers 2019-04-07 20:30:05 -04:00
svc_wrap.h kernel/svc: Implement svcMapProcessCodeMemory 2019-04-12 21:55:50 -04:00
thread.cpp kernel/process: Decouple TLS handling from threads 2019-07-03 20:31:40 -04:00
thread.h kernel/process: Decouple TLS handling from threads 2019-07-03 20:31:40 -04:00
transfer_memory.cpp kernel/transfer_memory: Add accessors to data and sizes 2019-04-03 17:49:16 -04:00
transfer_memory.h kernel/transfer_memory: Add accessors to data and sizes 2019-04-03 17:49:16 -04:00
vm_manager.cpp kernel/vm_manager: Handle stack/TLS IO region placement better 2019-07-05 21:57:31 -04:00
vm_manager.h kernel/vm_manager: Add overload of FindFreeRegion() that operates on a boundary 2019-07-03 20:29:49 -04:00
wait_object.cpp Merge pull request #2416 from lioncash/wait 2019-04-24 22:56:08 -04:00
wait_object.h kernel/wait_object: Make GetHighestPriorityReadyThread() a const member function 2019-04-17 06:44:34 -04:00
writable_event.cpp hle_ipc: Refactor SleepClientThread to avoid ReadableEvent 2018-11-29 09:14:20 -05:00
writable_event.h kernel: Make handle type declarations constexpr 2019-04-11 16:34:53 -04:00