diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-03-16 11:37:06 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-05-20 11:08:29 +0200 |
commit | 7d76ea075c248b2ed64c69a5e5dd4493d943e628 (patch) | |
tree | 9b8693e4d4509597d664b1aea1ff53c4fc17cd9c /kern/startup.c | |
parent | 6eb79f812ee43a4e9142de61a5821e0cc8c52bb1 (diff) |
kern: add radix tree library
Import a radix tree library from Richard Braun's librbraun.
* Makefile.am (clib_routines): Steal `__ffsdi2'.
* Makefrag.am (libkernel_a_SOURCES): Add new files.
* kern/rdxtree.c: New file.
* kern/rdxtree.h: Likewise.
* kern/rdxtree_i.h: Likewise.
* kern/startup.c (setup_main): Initialize radix tree library.
Diffstat (limited to 'kern/startup.c')
-rw-r--r-- | kern/startup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/startup.c b/kern/startup.c index 71cd04d..f9f0c34 100644 --- a/kern/startup.c +++ b/kern/startup.c @@ -41,6 +41,7 @@ #include <kern/mach_clock.h> #include <kern/printf.h> #include <kern/processor.h> +#include <kern/rdxtree.h> #include <kern/sched_prim.h> #include <kern/task.h> #include <kern/thread.h> @@ -112,6 +113,7 @@ void setup_main(void) sched_init(); vm_mem_bootstrap(); + rdxtree_cache_init(); ipc_bootstrap(); vm_mem_init(); ipc_init(); |