yuzu/src/core
Lioncash 0cbcd6ec9a kernel: Eliminate kernel global state
As means to pave the way for getting rid of global state within core,
This eliminates kernel global state by removing all globals. Instead
this introduces a KernelCore class which acts as a kernel instance. This
instance lives in the System class, which keeps its lifetime contained
to the lifetime of the System class.

This also forces the kernel types to actually interact with the main
kernel instance itself instead of having transient kernel state placed
all over several translation units, keeping everything together. It also
has a nice consequence of making dependencies much more explicit.

This also makes our initialization a tad bit more correct. Previously we
were creating a kernel process before the actual kernel was initialized,
which doesn't really make much sense.

The KernelCore class itself follows the PImpl idiom, which allows
keeping all the implementation details sealed away from everything else,
which forces the use of the exposed API and allows us to avoid any
unnecessary inclusions within the main kernel header.
2018-08-28 22:31:51 -04:00
..
arm core: Namespace all code in the arm subdirectory under the Core namespace 2018-08-24 21:50:39 -04:00
crypto file_sys/crypto: Fix missing/unnecessary includes 2018-08-24 22:15:32 -04:00
file_sys Merge pull request #1188 from lioncash/unused 2018-08-27 18:24:23 -04:00
frontend emu_window: Ensure WindowConfig members are always initialized 2018-08-14 19:36:43 -04:00
gdbstub GDBStub works with both Unicorn and Dynarmic now (#941) 2018-08-06 22:01:24 -04:00
hle kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
loader kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
tracer core: Make converting constructors explicit where applicable 2018-07-23 23:13:22 -04:00
CMakeLists.txt file_sys: Implement NAX containers 2018-08-23 11:53:30 -04:00
core_cpu.cpp Merge pull request #1043 from Subv/timing 2018-08-12 22:31:55 -04:00
core_cpu.h core: Namespace all code in the arm subdirectory under the Core namespace 2018-08-24 21:50:39 -04:00
core_timing_util.cpp core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
core_timing_util.h core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
core_timing.cpp Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core_timing.h Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
core.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
memory_hook.cpp memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_hook.h memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_setup.h memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
memory.cpp gpu: Make memory_manager private 2018-08-28 11:11:50 -04:00
memory.h memory: Make prototype parameter names match their definitions 2018-08-05 21:39:09 -04:00
perf_stats.cpp Merge pull request #840 from FearlessTobi/port-3353 2018-08-22 01:19:50 -04:00
perf_stats.h core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds 2018-08-05 22:07:30 -04:00
settings.cpp video_core; Get rid of global g_toggle_framelimit_enabled variable 2018-08-10 19:00:09 -04:00
settings.h Port #3353 from Citra 2018-08-21 01:14:06 +02:00
telemetry_session.cpp Merge pull request #840 from FearlessTobi/port-3353 2018-08-22 01:19:50 -04:00
telemetry_session.h telemetry_session.h: Reword Documentation Comment from citra to yuzu 2018-03-27 11:16:59 +02:00