Add Virtual::GetPhysical()

This commit is contained in:
Alex
2023-03-31 17:30:33 +03:00
parent 43af65b21e
commit eae6006d25
2 changed files with 42 additions and 0 deletions

View File

@ -539,6 +539,13 @@ namespace Memory
*/
bool Check(void *VirtualAddress, PTFlag Flag = PTFlag::P);
/**
* @brief Get physical address of the page.
* @param VirtualAddress Virtual address of the page.
* @return Physical address of the page.
*/
void *GetPhysical(void *VirtualAddress);
/**
* @brief Map page.
*