LiS in user space

"Longhi Stefano" <[email protected]> Mon, 16 Oct 2006 19:24:45 +0200
Newsgroups gmane.linux.kernel.streams
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C6F147.F93D0555
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,
=20
I am trying to compile some modules and drivers together with LiS-2.18
configured to run in user-space. Those drivers do not use directly the
hardware but communicate with a separate non-streams driver.
My aim is to obtain something that runs on a target environment.
=20
I read in LiS documentation that it is possible to build a user-space
version of LiS that can be used for laboratory testing, but I could not
find any additional information about this functionality.
I have some questions about that:
- Is it possible (and safe) to use this laboratory version of LiS to
compile a target application that runs in user-space?
- how should I compile my modules together with user-space streams.o? is
it enough to link them together in my final executable?
- is it possible (and how) to exchange data between a streams module
compiled in user space and a non-streams driver in kernel space?
- are performances worst in this configuration?
=20
Thanks in advance
  Stefano
=20
=20
=20

------_=_NextPart_001_01C6F147.F93D0555
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial=20
size=3D2>Hello,</FONT></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D149124816-16102006><FONT=20
face=3DArial size=3D2></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D149124816-16102006><SPAN=20
class=3D965331017-16102006>I am trying to compile some modules and =
drivers=20
together with&nbsp;LiS<SPAN=20
class=3D965331017-16102006>-2.18</SPAN>&nbsp;</SPAN></SPAN><SPAN=20
class=3D149124816-16102006>configured to run in&nbsp;user-space<SPAN=20
class=3D965331017-16102006>.&nbsp;Those drivers do not use directly the =
hardware=20
but communicate with&nbsp;a separate=20
non-streams&nbsp;driver.</SPAN></SPAN></FONT></FONT></DIV>
<DIV><SPAN class=3D149124816-16102006><SPAN =
class=3D965331017-16102006><FONT=20
face=3DArial size=3D2>My aim&nbsp;is to obtain something&nbsp;that runs =
on a target=20
environment.</FONT></SPAN></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D149124816-16102006></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D149124816-16102006>I&nbsp;read=20
in</SPAN><SPAN class=3D149124816-16102006>&nbsp;LiS documentation that =
it is=20
possible to build a user-space version of LiS that can be used for =
laboratory=20
testing, but I could not find any additional information about this=20
functionality.</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>I have =
some=20
questions about that:</FONT></SPAN></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>- Is =
it=20
possible&nbsp;<SPAN class=3D965331017-16102006>(and safe) </SPAN>to use =
this=20
laboratory version of LiS to compile a&nbsp;<SPAN=20
class=3D965331017-16102006>target </SPAN>application that runs in=20
user-space?</FONT></SPAN></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>- =
how&nbsp;<SPAN=20
class=3D965331017-16102006>should I compile</SPAN>&nbsp;my modules<SPAN=20
class=3D965331017-16102006> together with user-space streams.o</SPAN>? =
is it=20
enough to link them&nbsp;<SPAN class=3D965331017-16102006>together =
</SPAN>in my=20
final executable?</FONT></SPAN></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>- is =
it possible=20
(and how) to exchange data between a streams module compiled in user =
space and a=20
non-streams driver in kernel space?</FONT></SPAN></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>- are =
performances=20
worst in this configuration?</FONT></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial><FONT =
size=3D2><SPAN=20
class=3D149124816-16102006></SPAN><SPAN =
class=3D149124816-16102006></SPAN><SPAN=20
class=3D149124816-16102006></SPAN></FONT></FONT></FONT></FONT>&nbsp;</DIV=
>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>Thanks =
in=20
advance</FONT></SPAN></DIV>
<DIV><SPAN class=3D149124816-16102006><FONT face=3DArial size=3D2>&nbsp; =

Stefano</FONT></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial size=3D2><SPAN =

class=3D149124816-16102006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial size=3D2><SPAN =

class=3D149124816-16102006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial size=3D2><SPAN =

class=3D149124816-16102006></SPAN></FONT></FONT></FONT>&nbsp;</DIV></BODY=
></HTML>
=00
------_=_NextPart_001_01C6F147.F93D0555--