mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 21:35:46 +00:00
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.
This commit is contained in:
parent
094442e8a3
commit
118596f1f9
4 changed files with 53 additions and 1 deletions
|
@ -191,6 +191,10 @@ const Process* KernelCore::CurrentProcess() const {
|
|||
return impl->current_process;
|
||||
}
|
||||
|
||||
const std::vector<SharedPtr<Process>>& KernelCore::GetProcessList() const {
|
||||
return impl->process_list;
|
||||
}
|
||||
|
||||
void KernelCore::AddNamedPort(std::string name, SharedPtr<ClientPort> port) {
|
||||
impl->named_ports.emplace(std::move(name), std::move(port));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue