Add driver to the kernel space
Ярослав Лещинский
midniwalker at gmail.com
Thu Mar 28 09:55:16 UTC 2019
Understood. Thanks.
On Thu, 28 Mar 2019 at 12:52, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 28/03/2019 10:44, Ярослав Лещинский wrote:
> > Hello,
> >
> > I wrote spidev driver. In user space it works fine, but when I moved
> > them into the kernel as a part of BSP(calling from bspstart.c) I've
> > got RTEMS_FATAL_SOURCE_EXCEPTION.
> >
> > Could you please tell me what is a proper way to add driver into the
> > kernel space?
>
> There is no kernel/user space separation in RTEMS. In the early startup
> (bspstart.c) you cannot anything which uses threads since no thread
> exists yet. You should do you high level initialization in the
> initialization thread.
>
> --
> 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.
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
--
--
Kind regards,
*Yaroslav Leshchinsky*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190328/0f902970/attachment-0002.html>
More information about the users
mailing list