Remove support for RTEMS_SCHEDSIM?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 14 14:31:16 UTC 2020


Hello,

there is a RTEMS_SCHEDSIM define which is used in a couple of files:

./cpukit/include/rtems/confdefs.h:#ifdef RTEMS_SCHEDSIM
./cpukit/include/rtems/confdefs.h:#ifndef RTEMS_SCHEDSIM
./cpukit/include/rtems/confdefs.h:#ifndef RTEMS_SCHEDSIM
./cpukit/include/rtems/confdefs.h:#ifndef RTEMS_SCHEDSIM
./cpukit/include/rtems/confdefs.h:    #if !defined(RTEMS_SCHEDSIM) \
./cpukit/include/rtems/confdefs.h:#ifndef RTEMS_SCHEDSIM
./cpukit/include/rtems/confdefs.h:#if !defined(RTEMS_SCHEDSIM)
./cpukit/include/rtems/confdefs.h:#endif   /* !defined(RTEMS_SCHEDSIM) */
./cpukit/include/rtems/score/basedefs.h:#if defined(RTEMS_SCHEDSIM)
./cpukit/include/rtems/score/basedefs.h:#if defined(RTEMS_DEBUG) && 
!defined(RTEMS_SCHEDSIM)
./cpukit/include/rtems/score/basedefs.h:#if defined(__GNUC__) && 
!defined(RTEMS_SCHEDSIM)
./cpukit/include/rtems/score/assert.h:  #if !defined( RTEMS_SCHEDSIM )

This define is related to the scheduler simulator:

https://git.rtems.org/rtems-schedsim/tree/schedsim

The last update was five years ago. I made a quick review and it is 
probably horribly out of synchronization. If someone is interested in 
the scheduler simulator, I think it should be resurrected via the new 
build system. The <rtems/score/basedefs.h> and <rtems/score/assert.h> 
should be provided by the scheduler simulator. With the split up of 
confdefs.h I think the RTEMS_SCHEDSIM handling in this file will be 
obsolete.

The problem with this define is that it cannot within RTEMS.



More information about the devel mailing list