]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/tool/preprocess/test/static.cpp
update
[l4.git] / kernel / fiasco / tool / preprocess / test / static.cpp
1 INTERFACE:
2
3 IMPLEMENTATION:
4
5 extern "C" {
6   extern char _mappings_1, _mappings_end_1;
7 }
8
9 static const vm_offset_t mem_alloc_region
10   = reinterpret_cast<vm_offset_t>(&_mappings_1);
11
12 static const vm_offset_t mem_alloc_region_end
13   = reinterpret_cast<vm_offset_t>(&_mappings_end_1);
14
15 static kmem_slab_t *amm_entry_cache;
16
17 static amm_t region_amm;
18 static oskit_addr_t end_of_last_region;
19 static helping_lock_t region_lock;
20
21 static char keymap[128][2] = {
22   {'[', '{'},
23 //   {']',      '}'},           /* 27 */
24   {'+', '*'},           /* 27 */
25 };