1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

VM: Get rid of KernelPagingScope.

Every page directory inherits the kernel page directory, so there's no need
to explicitly enter the kernel's paging scope anymore.
This commit is contained in:
Andreas Kling 2019-06-01 17:51:48 +02:00
parent 00f291b090
commit 49768524d4
2 changed files with 0 additions and 23 deletions

View file

@ -51,7 +51,6 @@ public:
void populate_page_directory(PageDirectory&);
void enter_process_paging_scope(Process&);
void enter_kernel_paging_scope();
bool validate_user_read(const Process&, LinearAddress) const;
bool validate_user_write(const Process&, LinearAddress) const;
@ -238,8 +237,3 @@ struct ProcessPagingScope {
ProcessPagingScope(Process&);
~ProcessPagingScope();
};
struct KernelPagingScope {
KernelPagingScope();
~KernelPagingScope();
};