mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 06:34:15 +01:00
core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.
This commit is contained in:
parent
47b8160666
commit
113a5ed68f
@ -95,6 +95,19 @@ constexpr inline s32 IdealCoreNoUpdate = -3;
|
|||||||
constexpr inline s32 LowestThreadPriority = 63;
|
constexpr inline s32 LowestThreadPriority = 63;
|
||||||
constexpr inline s32 HighestThreadPriority = 0;
|
constexpr inline s32 HighestThreadPriority = 0;
|
||||||
|
|
||||||
|
constexpr inline s32 SystemThreadPriorityHighest = 16;
|
||||||
|
|
||||||
|
enum ProcessState : u32 {
|
||||||
|
ProcessState_Created = 0,
|
||||||
|
ProcessState_CreatedAttached = 1,
|
||||||
|
ProcessState_Running = 2,
|
||||||
|
ProcessState_Crashed = 3,
|
||||||
|
ProcessState_RunningAttached = 4,
|
||||||
|
ProcessState_Terminating = 5,
|
||||||
|
ProcessState_Terminated = 6,
|
||||||
|
ProcessState_DebugBreak = 7,
|
||||||
|
};
|
||||||
|
|
||||||
constexpr inline size_t ThreadLocalRegionSize = 0x200;
|
constexpr inline size_t ThreadLocalRegionSize = 0x200;
|
||||||
|
|
||||||
} // namespace Kernel::Svc
|
} // namespace Kernel::Svc
|
||||||
|
Loading…
Reference in New Issue
Block a user