diff options
| author | 2018-10-20 14:34:41 -0400 | |
|---|---|---|
| committer | 2018-10-20 16:38:32 -0400 | |
| commit | 90a981a03ac916557aca6fa5fb047003d3c32bf6 (patch) | |
| tree | 5dd9f5e17a19bc4faa6f641a7447950d6b4cc01b /src/core/hle/kernel/kernel.h | |
| parent | Merge pull request #1535 from ReinUsesLisp/fixup-position (diff) | |
| download | yuzu-90a981a03ac916557aca6fa5fb047003d3c32bf6.tar.gz yuzu-90a981a03ac916557aca6fa5fb047003d3c32bf6.tar.xz yuzu-90a981a03ac916557aca6fa5fb047003d3c32bf6.zip | |
kernel/process: Make the handle table per-process
In the kernel, there isn't a singular handle table that everything gets
tossed into or used, rather, each process gets its own handle table that
it uses. This currently isn't an issue for us, since we only execute one
process at the moment, but we may as well get this out of the way so
it's not a headache later on.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 41554821f..7f822d524 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -47,12 +47,6 @@ public: | |||
| 47 | /// Clears all resources in use by the kernel instance. | 47 | /// Clears all resources in use by the kernel instance. |
| 48 | void Shutdown(); | 48 | void Shutdown(); |
| 49 | 49 | ||
| 50 | /// Provides a reference to the handle table. | ||
| 51 | Kernel::HandleTable& HandleTable(); | ||
| 52 | |||
| 53 | /// Provides a const reference to the handle table. | ||
| 54 | const Kernel::HandleTable& HandleTable() const; | ||
| 55 | |||
| 56 | /// Retrieves a shared pointer to a ResourceLimit identified by the given category. | 50 | /// Retrieves a shared pointer to a ResourceLimit identified by the given category. |
| 57 | SharedPtr<ResourceLimit> ResourceLimitForCategory(ResourceLimitCategory category) const; | 51 | SharedPtr<ResourceLimit> ResourceLimitForCategory(ResourceLimitCategory category) const; |
| 58 | 52 | ||