yuzu-mainline/src/core/hle/kernel
Lioncash baed7e1fba kernel/thread: Make all instance variables private
Many of the member variables of the thread class aren't even used
outside of the class itself, so there's no need to make those variables
public. This change follows in the steps of the previous changes that
made other kernel types' members private.

The main motivation behind this is that the Thread class will likely
change in the future as emulation becomes more accurate, and letting
random bits of the emulator access data members of the Thread class
directly makes it a pain to shuffle around and/or modify internals.
Having all data members public like this also makes it difficult to
reason about certain bits of behavior without first verifying what parts
of the core actually use them.

Everything being public also generally follows the tendency for changes
to be introduced in completely different translation units that would
otherwise be better introduced as an addition to the Thread class'
public interface.
2018-10-04 00:14:15 -04:00
..
address_arbiter.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
address_arbiter.h kernel: Remove unnecessary includes 2018-07-31 10:15:17 -04:00
client_port.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_port.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_session.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_session.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
errors.h kernel/svc: Implement svcGetThreadContext() 2018-09-30 05:29:40 -04:00
event.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
event.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
handle_table.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
handle_table.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
hle_ipc.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
hle_ipc.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
kernel.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
kernel.h core: Migrate current_process pointer to the kernel 2018-09-06 20:52:58 -04:00
mutex.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
mutex.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
object.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
object.h kernel/object: Remove unnecessary std::move from DynamicObjectCast() 2018-09-28 02:17:57 -04:00
process.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
process.h kernel/process: Add a data member to determine if a process is 64-bit or not. 2018-09-30 05:29:40 -04:00
resource_limit.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
resource_limit.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
scheduler.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
scheduler.h kernel/scheduler: Take ARM_Interface instance by reference in the constructor 2018-09-25 16:00:17 -04:00
server_port.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
server_port.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
server_session.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
server_session.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -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/process: Make data member variables private 2018-09-30 02:30:01 -04:00
shared_memory.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
svc_wrap.h kernel/svc: Implement svcGetThreadContext() 2018-09-30 05:29:40 -04:00
svc.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
svc.h Add & correct miscellaneous things (#470) 2018-05-25 22:31:54 -04:00
thread.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
thread.h kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
timer.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
timer.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
vm_manager.cpp svc: Report correct memory-related values within some of the cases in svcGetInfo() 2018-09-24 22:16:03 -04:00
vm_manager.h svc: Report correct memory-related values within some of the cases in svcGetInfo() 2018-09-24 22:16:03 -04:00
wait_object.cpp kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
wait_object.h kernel/object: Remove unnecessary std::move from DynamicObjectCast() 2018-09-28 02:17:57 -04:00