Mapping physical mem region
adam at os.inf.tu-dresden.de
Wed Sep 12 22:33:25 CEST 2012
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 at os.inf.tu-dresden.de
More information about the l4-hackers