[okl4-developer] vTimer Flags ? vSerial ?
Antonin SUBTIL
antonin.subtil at gmail.com
Tue Jul 1 19:00:41 EST 2008
documentation " Driver Framework Manual":
int virtual_serial_add_memsection( _service, virtual_serial, memsection,
passwd, memsection_idx); (5 args)
OKLinux : (kernel/arch/l4/driver/ig_serial.c)
virtual_serial_add_memsection(ig_serial->server, ig_serial->dev, memsect,0,
0, &env); (6 args)
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)
Is that enough to write and read the defined memsection to use the vserial ?
(after using add_memsection and so)
2008/7/1 Geoffrey Lee <glee at ok-labs.com>:
> On Tue, Jul 01, 2008 at 09:45:59AM +0200, Antonin SUBTIL wrote:
> > Hello,
> >
> > The driver documentation is a bit small, and so I'm wondering : what's
> the
> > vTimer resolution? what's his flags?
>
> Hi Antonin
>
> vtimer specifies time in nanoseconds. The hardware clock may implement
> a resolution coarser than this.
>
>
> > About vSerial, i'm wondering why ig_vserial in Oklinux use 6 arguments
> with
> > add_memsection instead of 5 (according to doc)? how shall we use them?
>
> The code should be the up to date source. If you point us to the
> relevant documentation we can get that updated. Please note in
> OK Linux that call is actually an RPC to the serial server, the
> server-side implementation is located in
> iguana/vserial/src/serial_server.c.
>
> >
> > Thanks
>
> -gl
> >
> > --
> > Antonin Subtil,
> > 35 rue Donissan
> > FR-33000 Bordeaux
> > +33 (0)6.86.04.41.33
> > (anciennement +33 (0)6.77.40.17.69)
> >
> > Economisez du papier, limitez votre production de déchets : n'imprimez ce
> > message que si nécessaire (et... en recto-verso) !
>
> > _______________________________________________
> > Developer mailing list
> > Developer at okl4.org
> > https://lists.okl4.org/mailman/listinfo/developer
>
>
> --
>
>
--
Antonin Subtil,
35 rue Donissan
FR-33000 Bordeaux
+33 (0)6.86.04.41.33
(anciennement +33 (0)6.77.40.17.69)
Economisez du papier, limitez votre production de déchets : n'imprimez ce
message que si nécessaire (et... en recto-verso) !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080701/730614f8/attachment.htm
More information about the Developer
mailing list