Posts

Es werden Posts vom Juli, 2017 angezeigt.

Fault Tolerant Scheduler preliminary API

Bild
In this post I want to explain the Fault Tolerant Scheduler API and its implementation structure. In RTEMS, the classical API implementation is located in /rtems/kernel/rtems/cpukit/rtems/src. For example, semrelease.c allows the user to release a semaphore by accessing the function rtems_semaphore_release( rtems_id id ). The header file semimpl.h and sem.h provide  the directives; they are located in /rtems/kernel/rtems/cpukit/rtems/include/rtems/rtems. In sem.h the definition rtems_status_code rtems_semaphore_release( rtems_id   id ) can be found, and it is implemented in semrelease.c. The low level directives used in semrelease.c are located in rtems/kernel/rtems/cpukit/score/src/. The FTS API will be implemented following the same way as existing functions in the classical API. FTS API Description void fts_rtems_task_register(rtems_id id, TECHNIQUE) From the next activation on, the task with the given id will be protected. void fts