summaryrefslogtreecommitdiff
path: root/kc/core/vm_tree.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-01-02 16:36:09 +0000
committerAda Christine <adachristine18@gmail.com>2022-01-02 16:36:09 +0000
commit3e522c4976e23acac32e9adee20a6af458e0da5e (patch)
tree8c3ea9f405e9f573b43090f58d2c68033b84c6a3 /kc/core/vm_tree.c
parent88551ff4da1db1c82adb56cc04e0c872a8e7fd18 (diff)
page faults now call up the vm_object for the faulting address
Diffstat (limited to 'kc/core/vm_tree.c')
-rw-r--r--kc/core/vm_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/vm_tree.c b/kc/core/vm_tree.c
index 0837220..7218d90 100644
--- a/kc/core/vm_tree.c
+++ b/kc/core/vm_tree.c
@@ -326,7 +326,7 @@ struct vm_tree_node *vmn_max(struct vm_tree_node *node)
return node;
}
-void *vmt_get_object(struct vm_tree *tree, void *address)
+struct vm_object *vmt_get_object(struct vm_tree *tree, void *address)
{
// find the object for a page.
struct vm_tree_key key = {(uintptr_t)address, 1};