diff options
author | Subv <subv2112@gmail.com> | 2018-01-10 06:58:25 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-01-10 07:01:55 +0100 |
commit | 7ad20154fc9bf1094f78721fed13fac1436bef17 (patch) | |
tree | 7c49bbaee40560ffac1a0a5f8a869df23f0dba71 /src/core/hle/kernel/thread.h | |
parent | Services: Allow lm to log single-character messages. (diff) | |
download | yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar.gz yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar.bz2 yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar.lz yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar.xz yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.tar.zst yuzu-7ad20154fc9bf1094f78721fed13fac1436bef17.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 19ba6e0af..0a1ada27d 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -24,10 +24,15 @@ enum ThreadPriority : u32 { enum ThreadProcessorId : s32 { THREADPROCESSORID_DEFAULT = -2, ///< Run thread on default core specified by exheader - THREADPROCESSORID_ALL = -1, ///< Run thread on either core - THREADPROCESSORID_0 = 0, ///< Run thread on core 0 (AppCore) - THREADPROCESSORID_1 = 1, ///< Run thread on core 1 (SysCore) - THREADPROCESSORID_MAX = 2, ///< Processor ID must be less than this + 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) | + (1 << THREADPROCESSORID_2) | (1 << THREADPROCESSORID_3) }; enum ThreadStatus { |