<div dir="ltr">So I will be fine just using the BSD structs? <div>But how do I register devices with the FreeBSD API, since the examples you provided earlier don't hold anymore.</div><div>Or am I getting something wrong on my side?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Jul 2019 at 10:38, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 18/07/2019 10:30, Nils Hölscher wrote:<br>
> <br>
> Do I need to add an rtems_filesystem_file_handlers_r struct to the pru <br>
> driver to register it or are the cdevsw sufficient?<br>
> Current status of the driver:<br>
> <a href="https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/pruss.c#L806" rel="noreferrer" target="_blank">https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/pruss.c#L806</a><br>
> <br>
> I am still not clear what the differences between these two structs are.<br>
<br>
The cdevsw is a FreeBSD kernel structure which is mapped to the RTEMS <br>
file system infrastructure. It is just a different API.<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div>