1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 05:32:13 +00:00

Free physical pages allocated for a process's page directory on exit.

Also use a ProcessPagingScope instead of region aliasing to implement
create-process ELF loading.
This commit is contained in:
Andreas Kling 2018-11-01 23:04:34 +01:00
parent c70afd045e
commit 90ddbca127
8 changed files with 113 additions and 55 deletions

View file

@ -10,6 +10,7 @@
#include "TTY.h"
class FileHandle;
class PageDirectory;
class Region;
class Subregion;
class Zone;
@ -149,7 +150,7 @@ private:
void allocateLDT();
dword* m_pageDirectory { nullptr };
PageDirectory* m_page_directory { nullptr };
Process* m_prev { nullptr };
Process* m_next { nullptr };