mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 13:44:11 -04:00
os: refactor/rewrite entire namespace.
This commit is contained in:
parent
6193283f03
commit
065485b971
181 changed files with 5353 additions and 1929 deletions
|
@ -28,8 +28,14 @@ namespace ams::svc {
|
|||
using Handle = u32;
|
||||
#endif
|
||||
|
||||
enum {
|
||||
HandleWaitMask = (1u << 30),
|
||||
};
|
||||
|
||||
constexpr inline size_t MaxWaitSynchronizationHandleCount = 0x40;
|
||||
|
||||
constexpr inline s64 WaitInfinite = -1;
|
||||
|
||||
enum PseudoHandle : Handle {
|
||||
CurrentThread = 0xFFFF8000,
|
||||
CurrentProcess = 0xFFFF8001,
|
||||
|
|
|
@ -279,8 +279,14 @@ namespace ams::svc {
|
|||
ThreadActivity_Paused = 1,
|
||||
};
|
||||
|
||||
constexpr s32 LowestThreadPriority = 63;
|
||||
constexpr s32 HighestThreadPriority = 0;
|
||||
constexpr inline s32 IdealCoreDontCare = -1;
|
||||
constexpr inline s32 IdealCoreUseProcessValue = -2;
|
||||
constexpr inline s32 IdealCoreNoUpdate = -3;
|
||||
|
||||
constexpr inline s32 LowestThreadPriority = 63;
|
||||
constexpr inline s32 HighestThreadPriority = 0;
|
||||
|
||||
constexpr inline s32 SystemThreadPriorityHighest = 16;
|
||||
|
||||
/* Process types. */
|
||||
enum ProcessInfoType : u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue