noxos (docs): documented 'page_map_check_memory'

This commit is contained in:
antifallobst 2023-04-20 18:32:02 +02:00
parent 3f353f7bf2
commit 470a9ce887
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ It always applies the _Present_ flag automatically.
Removes a page mapping from the **_page_map_**. Removes a page mapping from the **_page_map_**.
Page map structure intern pages won't be checked if they're still needed or not. Page map structure intern pages won't be checked if they're still needed or not.
# `page_map_check_memory(page_map*, virtual_address)` - function (bool)
Check if there is a page mapped at **_virtual_address_** in **_page_map_**.
Returns _true_ if there is a page mapped and _false_ if not.
# `page_map_get_physical_address(page_map*, virtual_address)` - function (void*) # `page_map_get_physical_address(page_map*, virtual_address)` - function (void*)
Returns the physical address of the page, that is mapped to **_virtual_address_**. Returns the physical address of the page, that is mapped to **_virtual_address_**.