diff options
| author | 2018-12-27 21:14:59 -0500 | |
|---|---|---|
| committer | 2018-12-27 21:48:49 -0500 | |
| commit | f80bc712ea60d10db10af6c752218bd3512e22b0 (patch) | |
| tree | 506970e7559e2b58c4cac84517835527183e4a4c /src/core/hle/kernel/process.h | |
| parent | kernel/thread: Move process thread initialization into process.cpp (diff) | |
| download | yuzu-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/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 2c0b20f9e..ce7d143de 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. |
| @@ -287,8 +287,8 @@ private: | |||
| 287 | /// Resource limit descriptor for this process | 287 | /// Resource limit descriptor for this process |
| 288 | SharedPtr<ResourceLimit> resource_limit; | 288 | SharedPtr<ResourceLimit> resource_limit; |
| 289 | 289 | ||
| 290 | /// The default CPU for this process, threads are scheduled on this cpu by default. | 290 | /// The ideal CPU core for this process, threads are scheduled on this core by default. |
| 291 | u8 ideal_processor = 0; | 291 | u8 ideal_core = 0; |
| 292 | u32 is_virtual_address_memory_enabled = 0; | 292 | u32 is_virtual_address_memory_enabled = 0; |
| 293 | 293 | ||
| 294 | /// The Thread Local Storage area is allocated as processes create threads, | 294 | /// The Thread Local Storage area is allocated as processes create threads, |