summaryrefslogtreecommitdiffstats
path: root/schedsim
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-08 18:48:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-08 18:48:48 +0000
commitf18b899fa8f35c0736cbe7f3f1ba52c52fb8a1c5 (patch)
tree2338498aa7ea6c42dde2effb4232a28b88dc3462 /schedsim
parent2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-examples-f18b899fa8f35c0736cbe7f3f1ba52c52fb8a1c5.tar.bz2
2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* schedsim_priority/Makefile, schedsim_priority/config.c: update and add example script. * schedsim_priority/.cvsignore, schedsim_priority/example_script: New files.
Diffstat (limited to 'schedsim')
-rw-r--r--schedsim/ChangeLog7
-rw-r--r--schedsim/schedsim_priority/.cvsignore1
-rw-r--r--schedsim/schedsim_priority/Makefile2
-rw-r--r--schedsim/schedsim_priority/config.c4
-rw-r--r--schedsim/schedsim_priority/example_script4
5 files changed, 17 insertions, 1 deletions
diff --git a/schedsim/ChangeLog b/schedsim/ChangeLog
index 7ca7848..3c78651 100644
--- a/schedsim/ChangeLog
+++ b/schedsim/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * schedsim_priority/Makefile, schedsim_priority/config.c: update and
+ add example script.
+ * schedsim_priority/.cvsignore, schedsim_priority/example_script: New
+ files.
+
2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, schedsim_priority/Makefile, schedsim_priority/README,
diff --git a/schedsim/schedsim_priority/.cvsignore b/schedsim/schedsim_priority/.cvsignore
new file mode 100644
index 0000000..981f40a
--- /dev/null
+++ b/schedsim/schedsim_priority/.cvsignore
@@ -0,0 +1 @@
+schedsim
diff --git a/schedsim/schedsim_priority/Makefile b/schedsim/schedsim_priority/Makefile
index b92e4ea..61ff306 100644
--- a/schedsim/schedsim_priority/Makefile
+++ b/schedsim/schedsim_priority/Makefile
@@ -2,7 +2,7 @@
# $Id$
#
-PREFIX=/home/jennifer/rtems-head-work/bsp-install/
+PREFIX=/home/joel/rtems-4.11-work/bsp-install/
OBJS = config.o printheir_executing.o schedsim.o wrap_thread_dispatch.o
CPPFLAGS = -I${PREFIX}/include/schedsim
LDFLAGS = -L${PREFIX}/lib
diff --git a/schedsim/schedsim_priority/config.c b/schedsim/schedsim_priority/config.c
index 4023f74..d66d6aa 100644
--- a/schedsim/schedsim_priority/config.c
+++ b/schedsim/schedsim_priority/config.c
@@ -1,3 +1,7 @@
+/*
+ * $Id$
+ */
+
#include <rtems.h>
#define CONFIGURE_INIT
diff --git a/schedsim/schedsim_priority/example_script b/schedsim/schedsim_priority/example_script
new file mode 100644
index 0000000..501fe59
--- /dev/null
+++ b/schedsim/schedsim_priority/example_script
@@ -0,0 +1,4 @@
+rtems_init
+task_create joel 1
+task_priority joel 0
+task_priority joel 5