From b7528cf29555c06e5c9c22bf436f796e9c01fe63 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 7 Apr 2011 18:20:32 +0000 Subject: 2011-04-07 Joel Sherrill * README: New file. --- tools/schedsim/ChangeLog | 4 ++ tools/schedsim/README | 100 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 tools/schedsim/README (limited to 'tools') 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 + + * README: New file. + 2011-02-02 Ralf Corsépius * 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 + + * 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 + + * 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 + + * 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. -- cgit v1.2.3