i.MX53 TrustZone cross world interactions
Martin Stein
martin.stein at ...1...
Tue May 5 11:59:09 CEST 2015
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
More information about the users
mailing list