aboutsummaryrefslogtreecommitdiff
path: root/sys/include/vm
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-23 19:36:54 -0400
committerIan Moffett <ian@osmora.org>2024-05-23 19:48:18 -0400
commita0bb2191d900631acd33276a028397b0a9b3fb5d (patch)
tree38deb87917c56d7e516f9c5b5dc68438b7ad6e5c /sys/include/vm
parent5f27480f26cb3c3329fdf4f1d7047ee11c6d1a95 (diff)
kernel/amd64: pmap: Add pmap_init()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm')
-rw-r--r--sys/include/vm/pmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h
index 3380199..faad0fb 100644
--- a/sys/include/vm/pmap.h
+++ b/sys/include/vm/pmap.h
@@ -99,4 +99,9 @@ int pmap_free_vas(struct vm_ctx *, struct vas);
* Unmap a page.
*/
int pmap_unmap(struct vm_ctx *, struct vas, vaddr_t);
+
+/*
+ * Architecture specific init code for pmap
+ */
+int pmap_init(struct vm_ctx *);
#endif /* _VM_PMAP_H_ */