Linking a L4 library with a L4Linux app?
ch12 at os.inf.tu-dresden.de
Wed Feb 23 13:50:29 CET 2005
On Wed, Feb 23, 2005 at 08:04:50AM +0200, Leon Brits wrote:
> On Tue, 2005-02-22 at 16:34 +0100, Adam Lackorzynski wrote:
> > Doing ipc-wait is no problem. It's just e.g. when creating threads one
> > should make sure that Linux won't be using this thread for Linux
> > threads.
> I do not understand your example - can you please elaborate.
> [example code will be great!]
> I am currently looking at "pkg/con/example/linux_stub_lib", it builds a
> Linux library which I assume I can link into a Linux app but it calls
> the function "l4lx_thread_create()" for which I do not seem to find any
> docs. Can you please point me in the right direction to find the info.
linux_stub_lib is no (L4)Linux application library - it's the in-kernel
equivalent to a Linux kernel module (That's why it's called "library" ;-).
The real code is in "pkg/con/example/linux_stub", which builds a Linux
kernel module for the DROPS console system.
AFAIK doing IPC under L4Linux <= 2.4 is as easy as including
<l4/sys/ipc.h> and calling the IPC bindings. You need no library for that
purpose. The Makefile mode is "mode=l4linux".
Hope it helps
## Dept. of CS, TU Dresden, Germany ##
## http://os.inf.tu-dresden.de/~ch12 ##
More information about the l4-hackers