Re: Mapping physical mem region
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Wed Sep 12, 2012 at 01:28:48 +0400, Nikolay Golikov wrote: > How I can map some physical memory region to task address space? > I tried to use l4sigma0_map_mem, but it return me "No fpage received" > error. I tried different region szes from 256M to 4K. A normal program cannot get any memory from sigma0 anymore as moe has taken everything. So you need to get a memory dataspace from moe. For that dataspace you can also query the physical address of the backing memory (you need to allocate it pinned for that). Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/