summaryrefslogtreecommitdiffstats
path: root/schedsim/README
blob: 0d8275e99e72ef7462b7b2c3af694e4fe41c150d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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.