mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
[orbis-kernel] implement sys_wait4 and sys_kill
This commit is contained in:
parent
f5c8fce5aa
commit
ebe051f6fb
8 changed files with 100 additions and 13 deletions
|
|
@ -54,6 +54,7 @@ public:
|
|||
Process *createProcess(pid_t pid);
|
||||
void deleteProcess(Process *proc);
|
||||
Process *findProcessById(pid_t pid) const;
|
||||
Process *findProcessByHostId(std::uint64_t pid) const;
|
||||
|
||||
utils::LinkedNode<Process> *getProcessList() { return m_processes; }
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ struct NamedMemoryRange {
|
|||
struct Process final {
|
||||
KernelContext *context = nullptr;
|
||||
pid_t pid = -1;
|
||||
std::uint64_t hostPid = -1;
|
||||
sysentvec *sysent = nullptr;
|
||||
ProcessState state = ProcessState::NEW;
|
||||
Process *parentProcess = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue