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

Kernel: Move ProcessPagingScope to its own files

This commit is contained in:
Andreas Kling 2020-03-01 15:38:09 +01:00
parent 2839bb0be1
commit 5e0c4d689f
6 changed files with 91 additions and 23 deletions

View file

@ -190,15 +190,6 @@ private:
bool m_quickmap_in_use { false };
};
class ProcessPagingScope {
public:
explicit ProcessPagingScope(Process&);
~ProcessPagingScope();
private:
u32 m_previous_cr3 { 0 };
};
template<typename Callback>
void VMObject::for_each_region(Callback callback)
{