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.hu...@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.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel