Noux application
Joseph Lee
leejose911 at ...9...
Mon Oct 26 15:28:40 CET 2015
Hi Christian,
please find attached patches for Genode 15.08.
Thanks,
On Mon, Oct 26, 2015 at 1:25 PM, Christian Helmuth <
christian.helmuth at ...1...> wrote:
> Hello,
>
> see my answer below the quoted text.
>
> On Mon, Oct 26, 2015 at 12:54:13PM +0100, Joseph Lee wrote:
> > 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 );
>
> Adding the attached patch that is derived from your changes above, I
> got the expected error
>
> ../imx53/main.cc: In function ‘int main()’:
> /plain/krishna/src/genode/genode_staging.git/repos/os/src/server/tz_vmm/spec/imx53_qsb/../imx53/main.cc:143:21:
> error: ‘O_WRONLY’ was not declared in this scope
> int fd = open("x", O_WRONLY | O_CREAT);
>
> tz_vmm in its virgin version in our repositories does not use the libc
> and, therefore, can't use the file system as you described. Please
> provide us with a working patch for Genode 15.08 or Git branch on
> GitHub as we otherwise can't reproduce your issue.
>
> Regards
> --
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20151026/85aeb652/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tz_vmm.patch
Type: text/x-diff
Size: 1277 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20151026/85aeb652/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target.patch
Type: text/x-diff
Size: 865 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20151026/85aeb652/attachment-0001.patch>
More information about the users
mailing list