kernel: pass ref in Process
This commit is contained in:
parent
213b259cf1
commit
9565091fc2
9 changed files with 20 additions and 16 deletions
|
@ -117,8 +117,6 @@ private:
|
|||
|
||||
class Process final : public Object {
|
||||
public:
|
||||
static SharedPtr<Process> Create(SharedPtr<CodeSet> code_set);
|
||||
|
||||
std::string GetTypeName() const override {
|
||||
return "Process";
|
||||
}
|
||||
|
@ -201,8 +199,11 @@ public:
|
|||
ResultCode LinearFree(VAddr target, u32 size);
|
||||
|
||||
private:
|
||||
Process();
|
||||
explicit Process(Kernel::KernelSystem& kernel);
|
||||
~Process() override;
|
||||
|
||||
friend class KernelSystem;
|
||||
KernelSystem& kernel;
|
||||
};
|
||||
|
||||
void ClearProcessList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue