diff options
| author | 2021-01-19 21:11:23 -0800 | |
|---|---|---|
| committer | 2021-01-28 21:42:26 -0800 | |
| commit | 14703384582dbd7ba53970e1b60eae37235dce8a (patch) | |
| tree | 68ccecc2d54dda1dd78b1f0db084b1af3eb1803d /src | |
| parent | kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority. (diff) | |
| download | yuzu-14703384582dbd7ba53970e1b60eae37235dce8a.tar.gz yuzu-14703384582dbd7ba53970e1b60eae37235dce8a.tar.xz yuzu-14703384582dbd7ba53970e1b60eae37235dce8a.zip | |
kernel: svc_types: Add ThreadActivity.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/svc_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_types.h b/src/core/hle/kernel/svc_types.h index 8909dbfab..ded55af9a 100644 --- a/src/core/hle/kernel/svc_types.h +++ b/src/core/hle/kernel/svc_types.h | |||
| @@ -77,6 +77,11 @@ enum class ArbitrationType : u32 { | |||
| 77 | WaitIfEqual = 2, | 77 | WaitIfEqual = 2, |
| 78 | }; | 78 | }; |
| 79 | 79 | ||
| 80 | enum class ThreadActivity : u32 { | ||
| 81 | Runnable = 0, | ||
| 82 | Paused = 1, | ||
| 83 | }; | ||
| 84 | |||
| 80 | constexpr inline s32 IdealCoreDontCare = -1; | 85 | constexpr inline s32 IdealCoreDontCare = -1; |
| 81 | constexpr inline s32 IdealCoreUseProcessValue = -2; | 86 | constexpr inline s32 IdealCoreUseProcessValue = -2; |
| 82 | constexpr inline s32 IdealCoreNoUpdate = -3; | 87 | constexpr inline s32 IdealCoreNoUpdate = -3; |