diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 20:15:19 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 20:15:19 +0100 |
commit | fcc321d0ef1771edff61a986df62d2cda2d7485e (patch) | |
tree | 15bfe6c37a53010342b8fc0f66262bbd0a2ea5f8 /src/kernel/include/process.h | |
parent | fea4c7a29e26bccab9a2982d600bd272e21a925a (diff) | |
download | kogata-fcc321d0ef1771edff61a986df62d2cda2d7485e.tar.gz kogata-fcc321d0ef1771edff61a986df62d2cda2d7485e.zip |
Use btrees to find memory regions.
Diffstat (limited to 'src/kernel/include/process.h')
-rw-r--r-- | src/kernel/include/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <hashtbl.h> +#include <btree.h> #include <thread.h> #include <vfs.h> @@ -28,6 +29,7 @@ struct user_region; typedef struct process { pagedir_t *pd; struct user_region *regions; + btree_t *regions_idx; hashtbl_t *filesystems; |