Hi,
Here is the code that i put in tz_vmm.
int fd; char buffer[10]; char const *file_name = "/home/test.txt";
if( ( fd = open(file_name, O_WRONLY | O_CREAT) ) != -1 ) write( fd, "TEST ", 4 ); else printf("File could not be opened"); close( fd );
And also I configure ram_fs for tz_vmm access to the file system as follows.
<config> <content> <dir name="home"> <inline name="test.txt"> </inline> </dir> </content> <policy label="tz_vmm -> root" root="/" /> <policy label="tz_vmm -> home" root="/home" writeable="yes" /> </config>
Please tell me if there is something wrong or missing ?
Thanks and best regards,
On Mon, Oct 26, 2015 at 11:07 AM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hello,
On Fri, Oct 23, 2015 at 12:44:52AM +0200, Joseph Lee wrote:
I am trying to test the techniques you mentioned about accessing a
function
of a Noux process from tz_vmm. I put a file in a ram_fs and allow access
to
both my noux process and tz_vmm. When i run the uImage, the file is accessed by the noux process successfully but the tz_vmm process can't access it. Instead i got the following log message. what is missing?
init -> tz_vmm -> vmm: unresolved pagefault at ip=73930
sp=e01fcf28
core -> pager_ep: cannot submit unknown signal context
You again triggered a page fault, i.e., segmentation fault, maybe due to an uninitialized pointer. To help you we should post your changes to tz_vmm for ram_fs access to this list. Then, we may investigate.
Greets
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main