yuzu/src/core
Lioncash d672c6e759 kernel/svc: Reorganize svcSetThreadCoreMask()
Makes the code much nicer to follow in terms of behavior and control
flow. It also fixes a few bugs in the implementation.

Notably, the thread's owner process shouldn't be accessed in order to
retrieve the core mask or ideal core. This should be done through the
current running process. The only reason this bug wasn't encountered yet
is because we currently only support running one process, and thus every
owner process will be the current process.

We also weren't checking against the process' CPU core mask to see if an
allowed core is specified or not.

With this out of the way, it'll be less noisy to implement proper
handling of the affinity flags internally within the kernel thread
instances.
2019-04-29 01:38:27 -04:00
..
arm kernel/svc: Deglobalize the supervisor call handlers 2019-04-07 20:30:05 -04:00
crypto core: Port current uses of RegisteredCache to ContentProvider 2019-03-26 22:05:37 -04:00
file_sys Merge pull request #1957 from DarkLordZach/title-provider 2019-04-09 19:16:37 -04:00
frontend Merge pull request #2017 from jroweboy/glwidget 2019-04-13 22:08:40 -04:00
gdbstub gdbstub: Fix some bugs in IsMemoryBreak() and ServeBreak. Add workaround to let watchpoints break into GDB. (#4651) 2019-03-15 16:31:06 +01:00
hle kernel/svc: Reorganize svcSetThreadCoreMask() 2019-04-29 01:38:27 -04:00
loader Merge pull request #1957 from DarkLordZach/title-provider 2019-04-09 19:16:37 -04:00
tracer Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
CMakeLists.txt core: Do not link LZ4 to core. Use common/data_compression for nso segment decompression instead. 2019-03-29 16:42:34 +01:00
core.cpp core: Store system-wide ContentProvider for the emulator 2019-03-26 22:05:37 -04:00
core.h core: Store system-wide ContentProvider for the emulator 2019-03-26 22:05:37 -04:00
core_cpu.cpp kernel/svc: Deglobalize the supervisor call handlers 2019-04-07 20:30:05 -04:00
core_cpu.h kernel/scheduler: Pass in system instance in constructor 2019-03-04 17:01:37 -05:00
core_timing.cpp core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
core_timing.h core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
core_timing_util.cpp Corrections, documenting and fixes. 2019-02-16 16:52:24 -04:00
core_timing_util.h Use u128 on Clock Cycles calculation. 2019-02-15 22:57:16 -04:00
cpu_core_manager.cpp kernel/scheduler: Pass in system instance in constructor 2019-03-04 17:01:37 -05:00
cpu_core_manager.h core: Relocate CPU core management to its own class 2018-11-22 04:28:19 -05:00
memory.cpp core/memory: Remove GetCurrentPageTable() 2019-04-07 02:47:37 -04:00
memory.h Merge pull request #2361 from lioncash/pagetable 2019-04-07 17:50:31 -04:00
memory_setup.h core: Move PageTable struct into Common. 2019-03-16 22:05:40 -04:00
perf_stats.cpp general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
perf_stats.h core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
settings.cpp core/yuzu: Remove enable_nfc setting 2019-03-29 15:02:28 +01:00
settings.h added a toggle to force 30fps mode 2019-04-09 02:14:03 +03:00
telemetry_session.cpp settings: Add new graphics setting for use_asynchronous_gpu_emulation. 2019-03-06 21:09:09 -05:00
telemetry_session.h compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00