diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-19 18:40:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-19 18:40:02 -0800 |
| commit | 2caac4a395a9c98cf1b9edee1457a88c04fc5045 (patch) | |
| tree | 01e29da6e94c76109225ae27ed92dbfe7973c22d /src/core/hle/kernel/kernel.h | |
| parent | 048da7240d793245b156eb29ac52e9b5a514a64d (diff) | |
| parent | 5d46038c5cd91504b00b76660212a3a28b244f38 (diff) | |
Merge pull request #1738 from lioncash/res-limit
kernel/resource_limit: Clean up interface
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 7f822d524..ea00c89f5 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -24,8 +24,6 @@ class ResourceLimit; class Thread; class Timer; -enum class ResourceLimitCategory : u8; - /// Represents a single instance of the kernel. class KernelCore { private: @@ -47,8 +45,8 @@ public: /// Clears all resources in use by the kernel instance. void Shutdown(); - /// Retrieves a shared pointer to a ResourceLimit identified by the given category. - SharedPtr<ResourceLimit> ResourceLimitForCategory(ResourceLimitCategory category) const; + /// Retrieves a shared pointer to the system resource limit instance. + SharedPtr<ResourceLimit> GetSystemResourceLimit() const; /// Retrieves a shared pointer to a Thread instance within the thread wakeup handle table. SharedPtr<Thread> RetrieveThreadFromWakeupCallbackHandleTable(Handle handle) const; |
