diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-14 18:18:34 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-28 11:33:52 -0500 |
commit | 8703c130e4eedacfbdb54eb779123fad2726421b (patch) | |
tree | bef13835e85fdba4bcc462dd8c9930e9cd925cdc | |
parent | schedsim: Update to latest RTEMS. Works Uniprocessor (diff) | |
download | rtems-schedsim-8703c130e4eedacfbdb54eb779123fad2726421b.tar.bz2 |
Now works uniprocessor with debug enabled
-rw-r--r-- | schedsim/rtems/Makefile.am | 2 | ||||
-rw-r--r-- | schedsim/rtems/rtems_init.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/schedsim/rtems/Makefile.am b/schedsim/rtems/Makefile.am index 2f302c7..f69f11c 100644 --- a/schedsim/rtems/Makefile.am +++ b/schedsim/rtems/Makefile.am @@ -52,6 +52,7 @@ librtems_a_SOURCES += $(cpukitdir)/score/src/coretodsecondssinceepoch.c librtems_a_SOURCES += $(cpukitdir)/score/src/coretodset.c librtems_a_SOURCES += $(cpukitdir)/score/src/coretodtickle.c librtems_a_SOURCES += $(cpukitdir)/score/src/coretodtickspersec.c +librtems_a_SOURCES += $(cpukitdir)/score/src/debugisownerofallocator.c librtems_a_SOURCES += $(cpukitdir)/score/src/freechain.c librtems_a_SOURCES += $(cpukitdir)/score/src/isr.c librtems_a_SOURCES += $(cpukitdir)/score/src/log2table.c @@ -208,6 +209,7 @@ librtems_a_SOURCES += $(cpukitdir)/rtems/src/taskwakeafter.c librtems_a_SOURCES += $(cpukitdir)/posix/src/key.c librtems_a_SOURCES += $(cpukitdir)/posix/src/keyfreememory.c librtems_a_SOURCES += $(cpukitdir)/posix/src/keyrundestructors.c +librtems_a_SOURCES += $(cpukitdir)/libcsupport/src/__assert.c librtems_a_SOURCES += $(cpukitdir)/libcsupport/src/assoclocalbyname.c librtems_a_SOURCES += $(cpukitdir)/libcsupport/src/assoclocalbyremotebitfield.c librtems_a_SOURCES += $(cpukitdir)/libcsupport/src/assoclocalbyremote.c diff --git a/schedsim/rtems/rtems_init.c b/schedsim/rtems/rtems_init.c index 2d44fba..bcf068f 100644 --- a/schedsim/rtems/rtems_init.c +++ b/schedsim/rtems/rtems_init.c @@ -11,12 +11,17 @@ * http://www.rtems.com/license/LICENSE. */ +#if HAVE_CONFIG_H +#include "config.h" +#endif + #define SAPI_INIT #define SCORE_INIT #define RTEMS_API_INIT #define POSIX_API_INIT #include <rtems/system.h> +#include <rtems/score/assert.h> #include <rtems/config.h> #include <rtems/debug.h> #include <rtems/extensionimpl.h> |