aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-01-13 00:20:46 -0500
committerIan Moffett <ian@osmora.org>2024-01-13 00:20:46 -0500
commitfc45b3117028a310ff9f98a011641bb54cffca78 (patch)
tree6e50d34188cd27bf0a1b038e031fbed9346fedd7 /share
parenta9c33d93caf401bda5cca516d1fa88c149cd8d01 (diff)
docs: man: Document map_unmap()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/pmap.96
1 files changed, 6 insertions, 0 deletions
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