diff options
| author | 2021-01-30 20:40:49 +1100 | |
|---|---|---|
| committer | 2021-01-30 20:40:49 +1100 | |
| commit | 3be1a565f895d5399a6c1f6d0997dc528537fe86 (patch) | |
| tree | d5c94d86c78bdcf7a73785b9c28b0c1f5fc0c6af /src/core/hle/kernel/kernel.h | |
| parent | Merge pull request #5779 from bunnei/kthread-rewrite (diff) | |
| download | yuzu-3be1a565f895d5399a6c1f6d0997dc528537fe86.tar.gz yuzu-3be1a565f895d5399a6c1f6d0997dc528537fe86.tar.xz yuzu-3be1a565f895d5399a6c1f6d0997dc528537fe86.zip | |
kernel: Rewrite resource limit to be more accurate
Matches closer to hardware
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index e7c77727b..806a0d986 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -38,7 +38,7 @@ class GlobalSchedulerContext; | |||
| 38 | class HandleTable; | 38 | class HandleTable; |
| 39 | class PhysicalCore; | 39 | class PhysicalCore; |
| 40 | class Process; | 40 | class Process; |
| 41 | class ResourceLimit; | 41 | class KResourceLimit; |
| 42 | class KScheduler; | 42 | class KScheduler; |
| 43 | class SharedMemory; | 43 | class SharedMemory; |
| 44 | class ServiceThread; | 44 | class ServiceThread; |
| @@ -85,7 +85,7 @@ public: | |||
| 85 | void Shutdown(); | 85 | void Shutdown(); |
| 86 | 86 | ||
| 87 | /// Retrieves a shared pointer to the system resource limit instance. | 87 | /// Retrieves a shared pointer to the system resource limit instance. |
| 88 | std::shared_ptr<ResourceLimit> GetSystemResourceLimit() const; | 88 | std::shared_ptr<KResourceLimit> GetSystemResourceLimit() const; |
| 89 | 89 | ||
| 90 | /// Retrieves a shared pointer to a Thread instance within the thread wakeup handle table. | 90 | /// Retrieves a shared pointer to a Thread instance within the thread wakeup handle table. |
| 91 | std::shared_ptr<KThread> RetrieveThreadFromGlobalHandleTable(Handle handle) const; | 91 | std::shared_ptr<KThread> RetrieveThreadFromGlobalHandleTable(Handle handle) const; |