diff options
author | bunnei <bunneidev@gmail.com> | 2019-05-19 19:59:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 19:59:52 +0200 |
commit | 13dda1d8ed4716f844706c52c8b4832b9b1ad8ce (patch) | |
tree | 2a7f731518639a5d0e0c87a7c72d105bf78e16ea /src/core/hle/kernel/thread.h | |
parent | Merge pull request #2491 from FernandoS27/dma-fix (diff) | |
parent | kernel/svc: Make svcCreateThread/svcStartThread/svcSleepThread/svcExitThread calls show up in the debug log (diff) | |
download | yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar.gz yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar.bz2 yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar.lz yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar.xz yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.tar.zst yuzu-13dda1d8ed4716f844706c52c8b4832b9b1ad8ce.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index f07332f02..b4b9cda7c 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -30,12 +30,21 @@ enum ThreadPriority : u32 { }; enum ThreadProcessorId : s32 { - THREADPROCESSORID_IDEAL = -2, ///< Run thread on the ideal core specified by the process. - THREADPROCESSORID_0 = 0, ///< Run thread on core 0 - THREADPROCESSORID_1 = 1, ///< Run thread on core 1 - THREADPROCESSORID_2 = 2, ///< Run thread on core 2 - THREADPROCESSORID_3 = 3, ///< Run thread on core 3 - THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this + /// Indicates that no particular processor core is preferred. + THREADPROCESSORID_DONT_CARE = -1, + + /// Run thread on the ideal core specified by the process. + THREADPROCESSORID_IDEAL = -2, + + /// Indicates that the preferred processor ID shouldn't be updated in + /// a core mask setting operation. + THREADPROCESSORID_DONT_UPDATE = -3, + + THREADPROCESSORID_0 = 0, ///< Run thread on core 0 + THREADPROCESSORID_1 = 1, ///< Run thread on core 1 + THREADPROCESSORID_2 = 2, ///< Run thread on core 2 + THREADPROCESSORID_3 = 3, ///< Run thread on core 3 + THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this /// Allowed CPU mask THREADPROCESSORID_DEFAULT_MASK = (1 << THREADPROCESSORID_0) | (1 << THREADPROCESSORID_1) | |