Fix kernel mapping

This commit is contained in:
Alex
2023-03-27 20:30:19 +03:00
parent 98677c7b5b
commit 678744f65d
3 changed files with 11 additions and 4 deletions

View File

@ -546,7 +546,7 @@ namespace Memory
* @param PhysicalAddress Physical address of the page.
* @param Flags Flags of the page. Check PTFlag enum.
*/
void Map(void *VirtualAddress, void *PhysicalAddress, uint64_t Flags);
void Map(void *VirtualAddress, void *PhysicalAddress, uint64_t Flag = PTFlag::P);
/**
* @brief Map multiple pages.