[Xenomai] FreeRTOS skin #2
ma30002000 at yahoo.de
Mon Jun 2 20:46:20 CEST 2014
----- Original Message -----
> From: Matthias Schneider <ma30002000 at yahoo.de>
> To: "xenomai at xenomai.org" <xenomai at xenomai.org>
> Sent: Thursday, May 22, 2014 9:46 PM
> Subject: [Xenomai] FreeRTOS skin #2
> Hi all,
> after having rework extensively the FreeRTOS skin patch I feel ready
> for the second round of review comments. I hope no one will mind me
> starting a new thread for discussing it. I have tried to address all
> of the mentioned issues so far, plus many more.
> Among them:
> * reworked alignment macros
> * #define portLONG long
> * remapped error codes
> * reworked scheduler start and stop completely as suggested
> * reworked Scheduler.queued_task, .state and .num_tasks
> * added new (internal) scheduler state taskSCHEDULER_SUSPENDING
> * many other improvements and simplifications
> * only take tasklist_lock for short time
> Like suggested, I have gone for the simpler implementation of the task
> scheduler functionality and I added warnings and checks in case unsupported
> use cases are triggered (e.g. holding the scheduler lock on mp systems, etc.)
> This still needs to be reflected in the docu.
> I have not yet addressed the issues of
> * vPortEnterCritical()/vPortExitCritical()
> since they are used extensively in the demo code (which is completely
> hardware independent), but this can still be easily adapted.
> * starting thread priority inheritance (need to start a new
> discussion thread)
> * there is still a workaround for the cobalt priorities in the patch...
> p.s. Thank you a lot for your responsiveness addressing issues reported
> by me, including all the refactoring that is making my life easier!
Please find enclosed a new version of the FreeRTOS skin. It adapts to the
latest changes in forge/next and also removes the previously included
workarounds - thanks to the changes done based on the first review round
they were no longer necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 34384 bytes
Desc: not available
More information about the Xenomai