Re: ARM TrustZone Shared Memory Crossworld

2015-12-10 Thread Martin Stein
Hi Stefan, Am 09.12.2015 um 17:15 schrieb Stefan Brenner: > 1) We use mmap(NULL, , PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, > -1, 0) to allocate the buffer in normal world (Linux). Is there a better > way to allocate uncached memory? The only way I found, when working at Genode's TrustZone VMM

ARM TrustZone Shared Memory Crossworld

2015-12-09 Thread Stefan Brenner
Hi, currently we're working with the TrustZone VMM example from Genode based on Genode 15.05 on i.MX53 QSB. We have a shared buffer in normal world, which we want to use for cross-world communication. Currently the buffer is allocated using mmap MAP_SHARED | MAP_ANON. We're having strange

Re: ARM TrustZone Shared Memory Crossworld

2015-12-09 Thread Jaemin Park
Hi, I'm not sure whether my comments can help you or not. I also asked a similar question to the community. The related articles are as follows: http://sourceforge.net/p/genode/mailman/message/34341641/ I modified my source code referring to the above link. Based on the answers from the