RTEMS | Draft: cpukit: add support for common CAN/CAN FD stack (!49)

Pavel Pisa (@ppisa) gitlab at rtems.org
Fri Jun 28 11:58:05 UTC 2024




Pavel Pisa commented on a discussion on cpukit/dev/can/can-queue.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108459

 > +/**
 > + * @brief This function schedules filled slot for processing
 > + *
 > + * Puts slot previously acquired by canque_get_inslot() or
 > + * canque_get_inslot4prio() function call into FIFO queue and activates
 > + * edge processing if needed.
 > + *
 > + * @param qends  Ends structure belonging to calling communication object.
 > + * @param qedge  Edge the slot belongs to.
 > + * @param slot   Pointer to the preprared slot.
 > + *
 > + * @return Positive value informs, that activation of output end
 > + * has been necessary
 > + *
 > + */
 > +int canque_put_inslot(

It is intention to keep FIFO put and get semantic there, but operations are divided to allocate and actual put and get and free.... But yes it is complex to think what is FIFO in and FIFO out and get and put.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108459
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240628/a8d517fe/attachment.htm>


More information about the bugs mailing list