diff options
author | Ian Moffett <ian@osmora.org> | 2024-01-13 00:17:55 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-01-13 00:17:55 -0500 |
commit | a9c33d93caf401bda5cca516d1fa88c149cd8d01 (patch) | |
tree | 83d15aaad97303f4780cd7dedb4b6bd944bd49dd /sys/include/vm | |
parent | 28c5e1a7159cfb9a7b599cc1ef8149cfaa17612e (diff) |
kernel/amd64: pmap: Add pmap_unmap()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm')
-rw-r--r-- | sys/include/vm/pmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_ */ |