summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar Sebastian Valle2018-12-30 20:32:41 -0500
committerGravatar GitHub2018-12-30 20:32:41 -0500
commite5dfbe22ee458dc818e5e56daa7f1a43e6ed7205 (patch)
treed12208284c7f3bff0d24ba5750019307eddccefe /src/core/hle/kernel/process.h
parentMerge pull request #1847 from ogniK5377/backtrace-break (diff)
parentkernel/process: Start the main thread using the specified ideal core (diff)
downloadyuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.gz
yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.tar.xz
yuzu-e5dfbe22ee458dc818e5e56daa7f1a43e6ed7205.zip
Merge pull request #1956 from lioncash/process-thread
kernel/process: Start the main thread using the specified ideal core
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index ac6956266..450dc6eeb 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -168,9 +168,9 @@ public:
168 /// Gets the resource limit descriptor for this process 168 /// Gets the resource limit descriptor for this process
169 SharedPtr<ResourceLimit> GetResourceLimit() const; 169 SharedPtr<ResourceLimit> GetResourceLimit() const;
170 170
171 /// Gets the default CPU ID for this process 171 /// Gets the ideal CPU core ID for this process
172 u8 GetDefaultProcessorID() const { 172 u8 GetIdealCore() const {
173 return ideal_processor; 173 return ideal_core;
174 } 174 }
175 175
176 /// Gets the bitmask of allowed CPUs that this process' threads can run on. 176 /// Gets the bitmask of allowed CPUs that this process' threads can run on.
@@ -280,8 +280,8 @@ private:
280 /// Resource limit descriptor for this process 280 /// Resource limit descriptor for this process
281 SharedPtr<ResourceLimit> resource_limit; 281 SharedPtr<ResourceLimit> resource_limit;
282 282
283 /// The default CPU for this process, threads are scheduled on this cpu by default. 283 /// The ideal CPU core for this process, threads are scheduled on this core by default.
284 u8 ideal_processor = 0; 284 u8 ideal_core = 0;
285 u32 is_virtual_address_memory_enabled = 0; 285 u32 is_virtual_address_memory_enabled = 0;
286 286
287 /// The Thread Local Storage area is allocated as processes create threads, 287 /// The Thread Local Storage area is allocated as processes create threads,