From fcc321d0ef1771edff61a986df62d2cda2d7485e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 14 Feb 2015 20:15:19 +0100 Subject: Use btrees to find memory regions. --- src/kernel/include/process.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/include/process.h') diff --git a/src/kernel/include/process.h b/src/kernel/include/process.h index c9615d7..edb25c3 100644 --- a/src/kernel/include/process.h +++ b/src/kernel/include/process.h @@ -11,6 +11,7 @@ // - mchmap = change mode on already mapped zone (eg. after loading code) #include +#include #include #include @@ -28,6 +29,7 @@ struct user_region; typedef struct process { pagedir_t *pd; struct user_region *regions; + btree_t *regions_idx; hashtbl_t *filesystems; -- cgit v1.2.3