summaryrefslogtreecommitdiff
path: root/sys/inc/mu/mmu.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-21 22:45:41 -0500
committerIan Moffett <ian@osmora.org>2025-11-21 22:45:41 -0500
commit01001c2aa2216c92603e1bdc334613e5adcacb04 (patch)
treed70c5222caea12188128266b3d38861bbae911e5 /sys/inc/mu/mmu.h
parent03090935db3e40132177e8ec25b7503b0e2ee78d (diff)
kern/amd64: mu: Add pmap unmap function
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc/mu/mmu.h')
-rw-r--r--sys/inc/mu/mmu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/inc/mu/mmu.h b/sys/inc/mu/mmu.h
index da2a286..d9be17a 100644
--- a/sys/inc/mu/mmu.h
+++ b/sys/inc/mu/mmu.h
@@ -50,6 +50,15 @@ __strong int mu_pmap_map(
);
/*
+ * Destroy a virtual to physical address mapping
+ *
+ * @vas: Virtual addres space to unmap from
+ * @va: Virtual address to unmap
+ * @ps: Pagesize of region covered by virtual address
+ */
+__strong int mu_pmap_unmap(struct mmu_vas *vas, uintptr_t va, pagesize_t ps);
+
+/*
* Copy the current VAS leaving the user-side
* zeroed
*/