aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-24 20:35:31 -0400
committerIan Moffett <ian@osmora.org>2024-05-24 20:35:31 -0400
commit32f395140a653e5c7e3e114faeb7314e223f0eea (patch)
tree2a143c01780c88803fdee2f66a6ac59f6dbad88e /sys/include
parent157edace4ad3f3703e858e4fdea3d77a0b1832e0 (diff)
kernel: vm: Make pmap_create_vas() return int
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/vm/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h
index faad0fb..8c69372 100644
--- a/sys/include/vm/pmap.h
+++ b/sys/include/vm/pmap.h
@@ -70,7 +70,7 @@ struct vm_ctx {
* Create a virtual address space
* and return the descriptor.
*/
-struct vas pmap_create_vas(struct vm_ctx *);
+int pmap_create_vas(struct vm_ctx *, struct vas *);
/*
* Switch the current virtual address space