Kernel: Add constructor and destructor to MMU
This commit is contained in:
@@ -9,15 +9,15 @@ public:
|
||||
static void Intialize();
|
||||
static MMU& Get();
|
||||
|
||||
MMU();
|
||||
~MMU();
|
||||
|
||||
void AllocatePage(uintptr_t);
|
||||
void AllocateRange(uintptr_t, ptrdiff_t);
|
||||
|
||||
void UnAllocatePage(uintptr_t);
|
||||
void UnAllocateRange(uintptr_t, ptrdiff_t);
|
||||
|
||||
private:
|
||||
MMU();
|
||||
|
||||
private:
|
||||
uint64_t* m_highest_paging_struct;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user