diff options
| author | 2022-09-05 17:43:36 -0700 | |
|---|---|---|
| committer | 2022-10-18 19:13:34 -0700 | |
| commit | 113a5ed68fd2ab0050ebfb520bbd17399cc51298 (patch) | |
| tree | f9ec6f6a91900c136f6910e48dcabdc41cac57da /src | |
| parent | core: device_memory: Templatize GetPointer(..). (diff) | |
| download | yuzu-113a5ed68fd2ab0050ebfb520bbd17399cc51298.tar.gz yuzu-113a5ed68fd2ab0050ebfb520bbd17399cc51298.tar.xz yuzu-113a5ed68fd2ab0050ebfb520bbd17399cc51298.zip | |
core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/svc_types.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_types.h b/src/core/hle/kernel/svc_types.h index 79e15183a..bb4f7b004 100644 --- a/src/core/hle/kernel/svc_types.h +++ b/src/core/hle/kernel/svc_types.h | |||
| @@ -95,6 +95,19 @@ constexpr inline s32 IdealCoreNoUpdate = -3; | |||
| 95 | constexpr inline s32 LowestThreadPriority = 63; | 95 | constexpr inline s32 LowestThreadPriority = 63; |
| 96 | constexpr inline s32 HighestThreadPriority = 0; | 96 | constexpr inline s32 HighestThreadPriority = 0; |
| 97 | 97 | ||
| 98 | constexpr inline s32 SystemThreadPriorityHighest = 16; | ||
| 99 | |||
| 100 | enum ProcessState : u32 { | ||
| 101 | ProcessState_Created = 0, | ||
| 102 | ProcessState_CreatedAttached = 1, | ||
| 103 | ProcessState_Running = 2, | ||
| 104 | ProcessState_Crashed = 3, | ||
| 105 | ProcessState_RunningAttached = 4, | ||
| 106 | ProcessState_Terminating = 5, | ||
| 107 | ProcessState_Terminated = 6, | ||
| 108 | ProcessState_DebugBreak = 7, | ||
| 109 | }; | ||
| 110 | |||
| 98 | constexpr inline size_t ThreadLocalRegionSize = 0x200; | 111 | constexpr inline size_t ThreadLocalRegionSize = 0x200; |
| 99 | 112 | ||
| 100 | } // namespace Kernel::Svc | 113 | } // namespace Kernel::Svc |