diff options
| author | 2019-03-20 15:03:52 -0400 | |
|---|---|---|
| committer | 2019-04-02 00:47:14 -0400 | |
| commit | cb2bce8006189d866fb468b497d1ddcf2fd99ccf (patch) | |
| tree | 3ec965e9a4c9ed69fda4cdfd859b88ad6b48bb66 /src/core/hle/kernel/kernel.h | |
| parent | Merge pull request #2316 from ReinUsesLisp/fixup-process (diff) | |
| download | yuzu-cb2bce8006189d866fb468b497d1ddcf2fd99ccf.tar.gz yuzu-cb2bce8006189d866fb468b497d1ddcf2fd99ccf.tar.xz yuzu-cb2bce8006189d866fb468b497d1ddcf2fd99ccf.zip | |
kernel/svc: Implement svcGetProcessList
This service function simply copies out a specified number of kernel
process IDs, while simultaneously reporting the total number of
processes.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 03ea5b659..6b8738599 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -72,6 +72,9 @@ public: | |||
| 72 | /// Retrieves a const pointer to the current process. | 72 | /// Retrieves a const pointer to the current process. |
| 73 | const Process* CurrentProcess() const; | 73 | const Process* CurrentProcess() const; |
| 74 | 74 | ||
| 75 | /// Retrieves the list of processes. | ||
| 76 | const std::vector<SharedPtr<Process>>& GetProcessList() const; | ||
| 77 | |||
| 75 | /// Adds a port to the named port table | 78 | /// Adds a port to the named port table |
| 76 | void AddNamedPort(std::string name, SharedPtr<ClientPort> port); | 79 | void AddNamedPort(std::string name, SharedPtr<ClientPort> port); |
| 77 | 80 | ||