On Thu, 15 Oct 2020 at 14:13, Michael Grunditz michael.grunditz@gmail.com wrote:
On Thu, 15 Oct 2020 at 13:33, Norman Feske norman.feske@genode-labs.com wrote:
You will have to call 'Framebuffer::Session::refresh' to inform the GUI server about the changed portions of your virtual framebuffer.
Done!
- When trying ro use the JIT version Genode complains about non
executable memory. Any idea what that might be?
By default, data stored in RAM is not executable on Genode. For the instructions generated by the JIT compiler, however, the underlying memory must be mapped as executable. In cases like this, you can explicitly request executable memory mapping using 'mmap' for allocating an anonymous chunk of memory by passing both the MAP_ANONYMOUS and PROT_EXEC flags as argument.
When I try map to allocate memory by using fd=-1 , I get a error (no plugin error)
Should you not use the libc but the raw Genode API, you can create executable mappings via 'env.rm().attach_executable' [1].
Might be possible , my main file is using Genode api. So a call to that might do the trick,
Or not. I don't know about Dataspace_capabilities. What is it and how can I get it?
New tweet with bootup poweron to desktop. Quite fast https://twitter.com/QtARM/status/1316738380902862848
Michael