2 * (c) 2008-2009 Technische Universität Dresden
3 * This file is part of TUD:OS and distributed under the terms of the
4 * GNU General Public License 2.
5 * Please see the COPYING-GPL-2 file for details.
10 l4_kernel_info_t *_current_kip;
11 L4::Cap<void> root_name_space_obj;
13 static Cap_alloc _cap_allocator __attribute__((init_priority(1400)));
14 Object_pool __attribute__((init_priority(1401))) object_pool(&_cap_allocator);
16 char log_buffer[1024];
17 Moe::Dataspace *kip_ds;
19 Moe::Server_object::~Server_object()
21 if (obj_cap().is_valid())
23 l4_task_unmap(L4_BASE_TASK_CAP,
24 obj_cap().fpage(L4_FPAGE_RWX), L4_FP_ALL_SPACES);
25 //printf("free SO cap: %lx\n", obj_cap().cap());
26 object_pool.cap_alloc()->free(this);
27 //printf(" hint=%lx\n", object_pool.cap_alloc()->hint());
31 extern char const *const PROG = "moe";