Thank you very much, it works.
On Tue, May 5, 2015 at 12:59 PM, Martin Stein <martin.stein@...1...> wrote:
Hi Ofer,
On 05.05.2015 11:06, Ofer Hasson wrote:
My question is, how in the Genode hypervisor I can access this memory address ? Any idea will be helpful
You should have a look at '_ram_iomem' in [1]. It is the IO_MEM session of the VMM that references the RAM of the normal world. Once estalished, this session provides a refernce to the RAM in form of a so-called dataspace. This dataspace can be used to attach the RAM locally via 'env()->rm_session()'. The VMM stores the resulting local address in 'Vm_base::_ram'. So, if you're in the VMM, you can acces the RAM through this object. If you're in another component you would have to request the VMM to release the IO_MEM-Region to be able to allocate it through a new IO_MEM session.
Cheers, Martin
[1] repos/os/src/server/tz_vmm/include/vm_base.h
One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main