summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-27 21:14:59 -0500
committerGravatar Lioncash2018-12-27 21:48:49 -0500
commitf80bc712ea60d10db10af6c752218bd3512e22b0 (patch)
tree506970e7559e2b58c4cac84517835527183e4a4c /src/core/hle/kernel/thread.h
parentkernel/thread: Move process thread initialization into process.cpp (diff)
downloadyuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.gz
yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.xz
yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.zip
kernel: Rename 'default' CPU core to 'ideal' core
This makes the naming more closely match its meaning. It's just a preferred core, not a required default core. This also makes the usages of this term consistent across the thread and process implementations.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index cc68eed2f..c48b21aba 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -30,12 +30,12 @@ enum ThreadPriority : u32 {
30}; 30};
31 31
32enum ThreadProcessorId : s32 { 32enum ThreadProcessorId : s32 {
33 THREADPROCESSORID_DEFAULT = -2, ///< Run thread on default core specified by exheader 33 THREADPROCESSORID_IDEAL = -2, ///< Run thread on the ideal core specified by the process.
34 THREADPROCESSORID_0 = 0, ///< Run thread on core 0 34 THREADPROCESSORID_0 = 0, ///< Run thread on core 0
35 THREADPROCESSORID_1 = 1, ///< Run thread on core 1 35 THREADPROCESSORID_1 = 1, ///< Run thread on core 1
36 THREADPROCESSORID_2 = 2, ///< Run thread on core 2 36 THREADPROCESSORID_2 = 2, ///< Run thread on core 2
37 THREADPROCESSORID_3 = 3, ///< Run thread on core 3 37 THREADPROCESSORID_3 = 3, ///< Run thread on core 3
38 THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this 38 THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this
39 39
40 /// Allowed CPU mask 40 /// Allowed CPU mask
41 THREADPROCESSORID_DEFAULT_MASK = (1 << THREADPROCESSORID_0) | (1 << THREADPROCESSORID_1) | 41 THREADPROCESSORID_DEFAULT_MASK = (1 << THREADPROCESSORID_0) | (1 << THREADPROCESSORID_1) |