mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
Process now maps regions immediately when they are allocated.
This avoids having to do a separate MM.mapRegionsForTask() pass. Also, more Task => Process renaming that I apparently hadn't saved yet.
This commit is contained in:
parent
4e60551aec
commit
3e532ac7b6
14 changed files with 327 additions and 387 deletions
|
@ -3,7 +3,7 @@
|
|||
#include <AK/Types.h>
|
||||
#include <VirtualFileSystem/SyntheticFileSystem.h>
|
||||
|
||||
class Task;
|
||||
class Process;
|
||||
|
||||
class ProcFileSystem final : public SyntheticFileSystem {
|
||||
public:
|
||||
|
@ -15,8 +15,8 @@ public:
|
|||
virtual bool initialize() override;
|
||||
virtual const char* className() const override;
|
||||
|
||||
void addProcess(Task&);
|
||||
void removeProcess(Task&);
|
||||
void addProcess(Process&);
|
||||
void removeProcess(Process&);
|
||||
|
||||
private:
|
||||
ProcFileSystem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue