From 470a9ce8879d2b86ee952fe26a84fd50aab37e2e Mon Sep 17 00:00:00 2001 From: antifallobst Date: Thu, 20 Apr 2023 18:32:02 +0200 Subject: [PATCH] noxos (docs): documented 'page_map_check_memory' --- content/projects/noxos/docs/codebase/mm/page_map.h.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/projects/noxos/docs/codebase/mm/page_map.h.md b/content/projects/noxos/docs/codebase/mm/page_map.h.md index e61f23c..0e8cced 100644 --- a/content/projects/noxos/docs/codebase/mm/page_map.h.md +++ b/content/projects/noxos/docs/codebase/mm/page_map.h.md @@ -62,6 +62,10 @@ It always applies the _Present_ flag automatically. 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_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*) Returns the physical address of the page, that is mapped to **_virtual_address_**.