From fc45b3117028a310ff9f98a011641bb54cffca78 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 13 Jan 2024 00:20:46 -0500 Subject: docs: man: Document map_unmap() Signed-off-by: Ian Moffett --- share/man/man9/pmap.9 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/man/man9/pmap.9 b/share/man/man9/pmap.9 index f549886..9e4d5e0 100644 --- a/share/man/man9/pmap.9 +++ b/share/man/man9/pmap.9 @@ -33,6 +33,7 @@ .In vm/pmap.h .Ft pmap_map(struct vm_ctx *, vaddr_t, paddr_t, vm_prot_t); +.Ft pmap_unmap(struct vm_ctx *, vaddr_t); .Sh DESCRIPTION The machine dependent virtual memory layer contains a standard set of functions that shall be implemented per architecture and left alone @@ -59,6 +60,11 @@ executable. On platforms like AMD64, execution of pages without this bit will result in an exception from the instruction fetch, for AMD64, a #PF will occur. +The +.Ft pmap_unmap() +function is used to unmap a virtual address which +leaves the address invalid. + .Sh AUTHORS .An Ian Moffett Aq Mt ian@osmora.org -- cgit v1.2.3