Luna/kernel/include/memory/VMM.h
2022-09-05 16:13:51 +02:00

17 lines
347 B
C++

#pragma once
#include "memory/Paging.h"
namespace Paging
{
class VirtualMemoryManager
{
void Init(); // fetch page table from cr3
void Init(PageTable* PML4);
void Map(uint64_t virtualAddress, uint64_t physicalAddress);
void Unmap(uint64_t virtualAddress);
private:
PageTable* PML4;
};
}