GSoC Linux UIO driver for PRU
Nils Hölscher
nilhoel1 at gmail.com
Thu Jul 18 08:41:45 UTC 2019
So I will be fine just using the BSD structs?
But how do I register devices with the FreeBSD API, since the examples you
provided earlier don't hold anymore.
Or am I getting something wrong on my side?
On Thu, 18 Jul 2019 at 10:38, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 18/07/2019 10:30, Nils Hölscher wrote:
> >
> > Do I need to add an rtems_filesystem_file_handlers_r struct to the pru
> > driver to register it or are the cdevsw sufficient?
> > Current status of the driver:
> > https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/pruss.c#L806
> >
> > I am still not clear what the differences between these two structs are.
>
> The cdevsw is a FreeBSD kernel structure which is mapped to the RTEMS
> file system infrastructure. It is just a different API.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190718/10b5f80c/attachment-0002.html>
More information about the devel
mailing list