mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Add Virtual::GetPhysical()
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user