aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-29 13:09:01 -0500
committerIan Moffett <ian@osmora.org>2024-02-29 13:09:01 -0500
commit60e0827762b4cfff1a04d1287139fb23f521ff86 (patch)
tree52e62d9aac97198fa91580d9afa249cb091051b8
parent6d5dbb5ff23bf64ac4ea99e11adbde5583be522c (diff)
kernel: vm: Add more documentation
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/vm/pmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h
index 7a8d577..c591605 100644
--- a/sys/include/vm/pmap.h
+++ b/sys/include/vm/pmap.h
@@ -65,6 +65,10 @@ struct vm_ctx {
struct spinlock dynalloc_lock;
};
+/*
+ * Create a virtual address space
+ * and return the descriptor.
+ */
struct vas pmap_create_vas(struct vm_ctx *);
/*