aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-20 15:03:52 -0400
committerLioncash <mathew1800@gmail.com>2019-04-02 00:47:14 -0400
commitcb2bce8006189d866fb468b497d1ddcf2fd99ccf (patch)
tree3ec965e9a4c9ed69fda4cdfd859b88ad6b48bb66 /src/core/hle/kernel/kernel.h
parent628153cccdc4873defde779cac84033c012be38c (diff)
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 03ea5b6592..6b87385993 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -72,6 +72,9 @@ public:
/// Retrieves a const pointer to the current process.
const Process* CurrentProcess() const;
+ /// Retrieves the list of processes.
+ const std::vector<SharedPtr<Process>>& GetProcessList() const;
+
/// Adds a port to the named port table
void AddNamedPort(std::string name, SharedPtr<ClientPort> port);