summaryrefslogtreecommitdiff
path: root/kern/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/task.h')
-rw-r--r--kern/task.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kern/task.h b/kern/task.h
index cfe694bf..591e8d7e 100644
--- a/kern/task.h
+++ b/kern/task.h
@@ -68,6 +68,12 @@ task_unref(struct task *task)
}
}
+static inline struct vm_map *
+task_get_vm_map(const struct task *task)
+{
+ return task->map;
+}
+
/*
* Initialize the task module.
*/