documentation " Driver Framework Manual":<br>int virtual_serial_add_memsection( _service, virtual_serial, memsection, passwd, memsection_idx); (5 args)<br><br>OKLinux : (kernel/arch/l4/driver/ig_serial.c)<br>virtual_serial_add_memsection(ig_serial->server, ig_serial->dev, memsect,0, 0, &env); (6 args)<br>
<br>Would be nice to add the definition of flags, arguments ... : how to use the driver :p (Ok, i'm a newbie - and i'm a bit lost in reading linux stuff full of ttys and so)<br><br>Is that enough to write and read the defined memsection to use the vserial ? (after using add_memsection and so)<br>
<br><div class="gmail_quote">2008/7/1 Geoffrey Lee <<a href="mailto:glee@ok-labs.com">glee@ok-labs.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Jul 01, 2008 at 09:45:59AM +0200, Antonin SUBTIL wrote:<br>
> Hello,<br>
><br>
> The driver documentation is a bit small, and so I'm wondering : what's the<br>
> vTimer resolution? what's his flags?<br>
<br>
</div>Hi Antonin<br>
<br>
vtimer specifies time in nanoseconds. The hardware clock may implement<br>
a resolution coarser than this.<br>
<div class="Ih2E3d"><br>
<br>
> About vSerial, i'm wondering why ig_vserial in Oklinux use 6 arguments with<br>
> add_memsection instead of 5 (according to doc)? how shall we use them?<br>
<br>
</div>The code should be the up to date source. If you point us to the<br>
relevant documentation we can get that updated. Please note in<br>
OK Linux that call is actually an RPC to the serial server, the<br>
server-side implementation is located in<br>
iguana/vserial/src/serial_server.c.<br>
<br>
><br>
> Thanks<br>
<br>
-gl<br>
<div class="Ih2E3d">><br>
> --<br>
> Antonin Subtil,<br>
> 35 rue Donissan<br>
> FR-33000 Bordeaux<br>
> +33 (0)6.86.04.41.33<br>
> (anciennement +33 (0)6.77.40.17.69)<br>
><br>
> Economisez du papier, limitez votre production de déchets : n'imprimez ce<br>
> message que si nécessaire (et... en recto-verso) !<br>
<br>
</div>> _______________________________________________<br>
> Developer mailing list<br>
> <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>
> <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank">https://lists.okl4.org/mailman/listinfo/developer</a><br>
<font color="#888888"><br>
<br>
--<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Antonin Subtil,<br>35 rue Donissan <br>FR-33000 Bordeaux<br>+33 (0)6.86.04.41.33<br>(anciennement +33 (0)6.77.40.17.69)<br><br>Economisez du papier, limitez votre production de déchets : n'imprimez ce message que si nécessaire (et... en recto-verso) !