summaryrefslogtreecommitdiff
path: root/sys/vm/vm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_init.c')
-rw-r--r--sys/vm/vm_init.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c
index f15cb0b..6096059 100644
--- a/sys/vm/vm_init.c
+++ b/sys/vm/vm_init.c
@@ -59,6 +59,15 @@ vm_get_ctx(void)
return &bsp_vm_ctx;
}
+/*
+ * Return the kernel VAS.
+ */
+struct vas
+vm_get_kvas(void)
+{
+ return kernel_vas;
+}
+
void
vm_init(void)
{