summaryrefslogtreecommitdiff
path: root/kc/core/vm_tree.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-01-08 21:04:17 +0000
committerAda Christine <adachristine18@gmail.com>2022-01-08 21:04:17 +0000
commit401d38e95b32696e6edb42c7d395bb7fbd7e0f0e (patch)
treed0594aadba7a847057b29efd63f09d0d59fc60cd /kc/core/vm_tree.c
parent65e60c251bac80ab1a95f3e983b387a52ced102b (diff)
rudimentary virtual memory allocation
Diffstat (limited to 'kc/core/vm_tree.c')
-rw-r--r--kc/core/vm_tree.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kc/core/vm_tree.c b/kc/core/vm_tree.c
index 7218d90..8d2a4f2 100644
--- a/kc/core/vm_tree.c
+++ b/kc/core/vm_tree.c
@@ -287,6 +287,13 @@ struct vm_tree_node *vmn_predecessor_key(
return P;
}
+struct vm_tree_node *vmn_successor_key(
+ struct vm_tree_node *N,
+ struct vm_tree_key *key)
+{
+ struct vm_tree_node *P = NULL;
+}
+
// search for the successor node for a given key
struct vm_tree_node *vmn_successor_node(
struct vm_tree_node *N)