summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-07 18:20:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-07 18:20:32 +0000
commitb7528cf29555c06e5c9c22bf436f796e9c01fe63 (patch)
treefe475e8108baf5b9f87112bf39c4b596e394f974 /tools
parent2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-b7528cf29555c06e5c9c22bf436f796e9c01fe63.tar.bz2
2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: New file.
Diffstat (limited to 'tools')
-rw-r--r--tools/schedsim/ChangeLog4
-rw-r--r--tools/schedsim/README100
2 files changed, 104 insertions, 0 deletions
diff --git a/tools/schedsim/ChangeLog b/tools/schedsim/ChangeLog
index 9f54d7f7d3..83412832a0 100644
--- a/tools/schedsim/ChangeLog
+++ b/tools/schedsim/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * README: New file.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/tools/schedsim/README b/tools/schedsim/README
new file mode 100644
index 0000000000..0d8275e99e
--- /dev/null
+++ b/tools/schedsim/README
@@ -0,0 +1,100 @@
+#
+# $Id$
+#
+
+This is a simulation shell which wraps parts of the RTEMS SuperCore
+and provides a way to test scheduler implementations.
+
+The following commands are currently available
+
+echo
+help
+exit
+
+rtems_init
+
+task_create name priority
+task_delete name|id
+task_mode [-tTpP]
+ -t - disable timeslicing
+ -T - enable timeslicing
+ -t - disable preemption
+ -T - enable enable
+task_priority name|id priority
+task_resume name|id
+task_suspend name|id
+task_wake_after ticks
+
+clock_tick ticks
+
+@
+
+
+1.6
+log
+@2010-04-08 Joel Sherrill <joel.sherrill@@oarcorp.com>
+
+ * README: Add task suspend and resume.
+@
+text
+@d2 1
+a2 1
+# $Id$
+d17 1
+a17 1
+task_delete [name|id]
+d23 3
+a25 3
+task_set_priority [name|id] priority
+task_resume [name|id]
+task_suspend [name|id]
+d30 15
+@
+
+
+1.5
+log
+@2010-04-08 Joel Sherrill <joel.sherrill@@oarcorp.com>
+
+ * README: Added task_mode command.
+@
+text
+@d2 1
+a2 1
+# $Id$
+d17 1
+d24 2
+a26 1
+task_delete [name|id]
+@
+
+
+1.4
+log
+@2010-04-08 Joel Sherrill <joel.sherrill@@oarcorp.com>
+
+ * README: Add task set priority, task wake after, and clock tick.
+@
+text
+@d2 1
+semaphore_create [-bcsfpiC:V:] name
+ -b - binary mutex
+ -c - counting semaphore
+ -s - simple binary semaphore
+ -f - FIFO Blocking
+ -p - Priority Blocking
+ -i - Priority Inheritance
+ -C priority - Priority Ceiling and priority
+ -V initial - Initial value (default=0)
+semaphore_delete name|id
+semaphore_obtain name|id ticks
+ NOTE: no polling supported yet
+semaphore_release name|id
+semaphore_flush name|id
+
+executing
+heir
+
+The task names are of Classic API form. They can be up to four characters.
+They should not start with "0" since that is the test used to determine if
+it is a hexadecimal task id.