[rtems-schedsim commit] Now works uniprocessor with debug enabled

Joel Sherrill joel at rtems.org
Mon Apr 28 17:11:34 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    8703c130e4eedacfbdb54eb779123fad2726421b
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=8703c130e4eedacfbdb54eb779123fad2726421b

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Apr 14 18:18:34 2014 -0500

Now works uniprocessor with debug enabled

---

 schedsim/rtems/Makefile.am  |    2 ++
 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>




More information about the vc mailing list