Linking a L4 library with a L4Linux app?
Frank Mehnert
fm3 at os.inf.tu-dresden.de
Thu Feb 24 12:54:15 CET 2005
On Thursday 24 February 2005 10:41, Leon Brits wrote:
> > I just wanted to make clear, that a hybrid program is doing stuff
> > that the Linux server knows nothing about. So e.g. if you start mapping
> > pages in the Linux address spaces from somewhere else, Linux may just
> > overmap them. On the other side if you exactly know what Linux is doing
> > with its programs and how it's handling their address space you can of
> > course do your own thing. But that's fragile.
>
> Thanks, I understand.
> This is not good news. Is it possible to reserve an region within the
> L4Linux (with startup commandline option?) and let the app attach the
> dataspace to that region?
Try using
http://os.inf.tu-dresden.de/~fm3/emul_l4rm.c
as replacement for l4rm in L4Linux applications. But be aware that, as
Adam said, the Linux server is not aware of memory from external data-
spaces. So read/write syscalls don't work with this memory. To use these
you had to use double buffering.
Frank
--
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## http://os.inf.tu-dresden.de/~fm3 ##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050224/d82150ea/attachment-0001.sig>
More information about the l4-hackers
mailing list