mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
Refactor the virtual memory object model a bit:
Process now has a number of Regions. Each Region is backed by a VMObject. A VMObject can be file-backed or anonymous. These can be shared.
This commit is contained in:
parent
3c8064a787
commit
862f108cb5
6 changed files with 165 additions and 31 deletions
|
@ -202,6 +202,7 @@ public:
|
|||
private:
|
||||
friend class MemoryManager;
|
||||
friend class Scheduler;
|
||||
friend class Region;
|
||||
|
||||
Process(String&& name, uid_t, gid_t, pid_t ppid, RingLevel, RetainPtr<VirtualFileSystem::Node>&& cwd = nullptr, RetainPtr<VirtualFileSystem::Node>&& executable = nullptr, TTY* = nullptr, Process* fork_parent = nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue