/l4re-core-master/sigma0/server/src/ |
A D | init_mem.cc | 37 iomem.add_free(Region(0, ~0UL, 0, L4_FPAGE_RW)); in init_memory() 39 Region mismatch = Region::invalid(); in init_memory() 61 Mem_man::ram()->add_free(Region(start, end)); in init_memory() 63 mismatch = Region(start, end, sigma0_taskno, L4_FPAGE_RW); in init_memory() 67 if (!iomem.reserve(Region(start, end, sigma0_taskno, L4_FPAGE_RW)) in init_memory() 69 mismatch = Region(start, end, sigma0_taskno, L4_FPAGE_RW); in init_memory() 74 Region(start, end, root_taskno, in init_memory() 77 mismatch = Region(start, end, root_taskno); in init_memory() 82 iomem.add_free(Region(start, end, 0, L4_FPAGE_RW)); in init_memory() 84 Region(start, end, sigma0_taskno, L4_FPAGE_RW))) in init_memory() [all …]
|
A D | mem_man.h | 24 bool add(Region const &r); 25 bool alloc_from(Region const *r2, Region const &r); 31 typedef cxx::Avl_set< Region, cxx::Lt_functor<Region>, Slab_alloc> Tree; 39 unsigned long alloc(Region const &r); 40 bool alloc_get_rights(Region const &r, L4_fpage_rights *rights); 41 bool reserve(Region const &r); 42 bool add_free(Region const &r); 43 Region const *find(Region const &r, bool force = false) const;
|
A D | region.h | 15 class Region 23 Region() : _l(0), _h(0), _rights(L4_FPAGE_RWX) {} in Region() function 24 Region(unsigned long start, unsigned long end, unsigned owner = 0 /*free*/, 34 void restore_range_from(Region const &r) const in restore_range_from() 46 bool operator < (Region const &r) const { return end() < r.start(); } 47 bool contains(Region const &r) const in contains() 50 bool operator == (Region const &r) const 55 static Region invalid() { return Region(~0UL, 0); } in invalid() 63 return Region(start, start + size - 1, owner, rights); 66 static Region kr(unsigned long start, unsigned long end, unsigned owner = 0, [all …]
|
A D | mem_man.cc | 19 Region const * 36 Mem_man::add(Region const &r) in add() 39 Region rs = r; in add() 125 Mem_man::alloc_from(Region const *r2, Region const &_r) in alloc_from() 130 Region r(_r); in alloc_from() 154 Region r2_orig = *r2; in alloc_from() 192 Mem_man::alloc(Region const &r) in alloc() 196 Region const *r2 = find(r); in alloc() 222 Region q = r; in alloc_get_rights() 365 Region a = Region::bs(l4_round_page(n->end() - L4_PAGESIZE - 1), in morecore() [all …]
|
A D | memmap.cc | 59 if ((_next_gate >> L4_CAP_SHIFT) & ~Region::Owner_mask) in new_client() 98 Region const *p; in map_mem() 99 Region r; in map_mem() 123 addr = m->alloc(Region::bs(send_addr, 1UL << send_order, t)); in map_mem() 130 r = Region::bs(send_addr, 1UL << send_order); in map_mem() 167 Region r = Region::bs(l4_trunc_page(pfa), L4_PAGESIZE, t, dr); in handle_page_fault()
|
A D | ioports_x86.cc | 25 io_ports.add_free(Region::kr(0, (64 * 1024) << PORT_SHIFT, 0, L4_FPAGE_RW)); in init_io_ports() 42 io_ports.alloc(Region::bs(port, 1UL << size, t, L4_FPAGE_RW)); in handle_io_page_fault()
|
A D | mem_man_test.cc | 17 m.add_free(Region(a, b))
|
/l4re-core-master/l4re/util/include/ |
A D | region_mapping | 5 * \brief Region handling 35 class Region 55 ~Region() noexcept {} 133 Tree _rm; ///< Region Map 210 Region c; 214 c = Region(addr, addr + size - 1); 228 c = Region(addr, addr + size - 1); 296 Region res(~0UL,0); 302 Region g = r->first; 330 cn->first = Region(dr.end() + 1, g.end()); [all …]
|
A D | region_mapping_svr_2 | 5 * \brief Region mapper server template. 99 typename DERIVED::Node r = rm()->find(Region(addr, addr + size -1)); 102 r = rm()->area_find(Region(addr, addr + size - 1)); 125 Region r; 156 L4::Ipc::Ret_array<L4Re::Rm::Region> regions) 160 while ((r = rm()->lower_bound(Region(addr)))) 162 Rm::Region &x = regions.value[num]; 184 while ((r = rm()->lower_bound_area(Region(addr))))
|
A D | event_buffer | 52 * \param rm Region manager to attach buffer to. 74 * \param rm Region manager to detach buffer from.
|
A D | kumem_alloc | 44 * \param rm Region manager to use for allocation.
|
/l4re-core-master/moe/server/src/ |
A D | dma_space.h | 54 struct Region struct 58 bool operator < (Region const &r) const argument 61 Region() = default; 62 Region(l4_addr_t s) : start(s), end(s) {} in Region() function 63 Region(l4_addr_t s, l4_addr_t e) : start(s), end(e) {} in Region() argument 68 typedef Region Key_type; 69 typedef cxx::Avl_tree<Mapping, Mapping, cxx::Lt_functor<Region>> Map; 74 Region key;
|
A D | dma_space.cc | 41 m->key = Dma::Region(*dma_addr, *dma_addr + *size -1); in map() 105 auto n = _map.find_node(Region(a, a + size - 1)); in find_free() 209 node->key = Region(a, a + size - 1); in map()
|
A D | region.h | 33 L4Re::Util::Region const &r, bool writable,
|
A D | region.cc | 40 L4Re::Util::Region const &r, bool need_w, in map()
|
/l4re-core-master/l4re_kernel/server/src/ |
A D | region.cc | 29 using L4Re::Util::Region; 68 Region const &r, bool writable, l4_umword_t *result) in map()
|
A D | main.cc | 86 Rm::Region const *rl; in insert_regions() 91 Rm::Region const *r = &rl[i]; in insert_regions()
|
A D | region.h | 31 L4Re::Util::Region const &r, bool writable,
|
/l4re-core-master/l4re/include/ |
A D | rm | 5 * \brief Region mapper interface 43 * \defgroup api_l4re_rm Region map API 74 * \brief Region map 78 * \see \link api_l4re_rm Region map API \endlink. 125 /// Region rights 136 /// Region has a pager 138 /// Region is reserved (blocked) 533 * \param[out] flags Region flags, see F::Region_flags (and F::In_area). 554 | | Region | Dataspace | 593 using Region = Range;
|
A D | env | 125 * \return Region map object-capability 236 * \param c Region map object-capability
|
/l4re-core-master/moe/doc/ |
A D | moe.dox | 149 * \subsection l4re_moe_rm Region Map
|