From a9c33d93caf401bda5cca516d1fa88c149cd8d01 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 13 Jan 2024 00:17:55 -0500 Subject: kernel/amd64: pmap: Add pmap_unmap() Signed-off-by: Ian Moffett --- sys/include/vm/pmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/include/vm') diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h index e35d14a..fcef35d 100644 --- a/sys/include/vm/pmap.h +++ b/sys/include/vm/pmap.h @@ -74,4 +74,8 @@ struct vas pmap_read_vas(void); */ int pmap_map(struct vm_ctx *, vaddr_t, paddr_t, vm_prot_t); +/* + * Unmap a page. + */ +int pmap_unmap(struct vm_ctx *, vaddr_t); #endif /* _VM_PMAP_H_ */ -- cgit v1.2.3