summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-02-03 14:53:25 -0800
committerGravatar GitHub2021-02-03 14:53:25 -0800
commitb0c97526633dffdf105f6d0a854ee2d02ae5a516 (patch)
tree9da902b04fb9424a3f1e32ee05b81327da521157 /src/core/hle/kernel/process.h
parentMerge pull request #5842 from german77/userfix (diff)
parentSimplify limitableresource names (diff)
downloadyuzu-b0c97526633dffdf105f6d0a854ee2d02ae5a516.tar.gz
yuzu-b0c97526633dffdf105f6d0a854ee2d02ae5a516.tar.xz
yuzu-b0c97526633dffdf105f6d0a854ee2d02ae5a516.zip
Merge pull request #5848 from ogniK5377/k-resourcelimit
kernel: Rewrite resource limit to be more accurate
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 26e647743..c8af76ce8 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -29,7 +29,7 @@ class ProgramMetadata;
29namespace Kernel { 29namespace Kernel {
30 30
31class KernelCore; 31class KernelCore;
32class ResourceLimit; 32class KResourceLimit;
33class KThread; 33class KThread;
34class TLSPage; 34class TLSPage;
35 35
@@ -170,7 +170,7 @@ public:
170 } 170 }
171 171
172 /// Gets the resource limit descriptor for this process 172 /// Gets the resource limit descriptor for this process
173 std::shared_ptr<ResourceLimit> GetResourceLimit() const; 173 std::shared_ptr<KResourceLimit> GetResourceLimit() const;
174 174
175 /// Gets the ideal CPU core ID for this process 175 /// Gets the ideal CPU core ID for this process
176 u8 GetIdealCoreId() const { 176 u8 GetIdealCoreId() const {
@@ -402,7 +402,7 @@ private:
402 u32 system_resource_size = 0; 402 u32 system_resource_size = 0;
403 403
404 /// Resource limit descriptor for this process 404 /// Resource limit descriptor for this process
405 std::shared_ptr<ResourceLimit> resource_limit; 405 std::shared_ptr<KResourceLimit> resource_limit;
406 406
407 /// The ideal CPU core for this process, threads are scheduled on this core by default. 407 /// The ideal CPU core for this process, threads are scheduled on this core by default.
408 u8 ideal_core = 0; 408 u8 ideal_core = 0;