| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Dispatch commands were removed since a dispatch of all cpu's was
added to the dispatch wrapper. Scenarios wich only use preemptable
tasks were modified to account for changes in scheduling and
changes in expected output format.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed to prevent a semaphore delete from triggering a
preempt and breaking the mutex is owner debug check. Technically
we are running the same thread until the API call returns. But from
an RTEMS internals perspective, it was preempted at the _Object_Put().
When understanding this patch, it is important to remember that the
Scheduler Simulator is single threaded and faking out RTEMS. This
is one place where RTEMS would have preempted to a thread and when
we returned to rtems_semaphore_delete(), the _Object_Put() call
would have been made by the correct thread.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* run_scenarios: Take name/full path of simulator instance -- not
just directory -- since name may be unique.
|
|
|
|
| |
* Makefile.am: Use name schedsim_smpsimple.
|
|
|
|
| |
* Makefile.am: Use name schedsim_priority.
|
|
|
|
| |
* run_scenarios: Improve error checking.
|
|
|
|
| |
* Makefile.am: Update.
|
|
|
|
|
|
| |
* configure.ac: Merge and update code. Simulators for Deterministic
Priority and SMP Simple Schedulers now work.
* acinclude.m4: New file.
|
|
|
|
|
|
|
|
| |
* Makefile.am, rtems_init.c, sched_cpu/cpu.c,
sched_cpu/rtems/score/cpu.h: Merge and update code. Simulators for
Deterministic Priority and SMP Simple Schedulers now work.
* debugio.c: New file.
* sched_cpu/rtems/score/cpuopts.h: Removed.
|
|
|
|
|
|
| |
* Makefile.am: Merge and update code. Simulators for Deterministic
Priority and SMP Simple Schedulers now work.
* run_scenarios: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .cvsignore, ChangeLog, Makefile.am, README, TODO, add_commands.c,
config.c, main_current_cpu.c, main_dispatch.c, main_dump_all_cpus.c,
main_dump_ready_tasks.c, printheir_executing.c, schedsim.cc,
smp_stub.c, wrap_thread_dispatch.c, scenarios/.cvsignore,
scenarios/cpus1_mode.expected, scenarios/cpus1_mode.scen,
scenarios/cpus1_priority.expected, scenarios/cpus1_priority.scen,
scenarios/cpus1_resume_on_primary.expected,
scenarios/cpus1_resume_on_primary.scen,
scenarios/cpus1_suspend_on_primary.expected,
scenarios/cpus1_suspend_on_primary.scen,
scenarios/cpus4_mode_case1.expected, scenarios/cpus4_mode_case1.scen,
scenarios/cpus4_mode_case2.expected, scenarios/cpus4_mode_case2.scen,
scenarios/cpus4_nonpreempt_case1.expected,
scenarios/cpus4_nonpreempt_case1.scen,
scenarios/cpus4_pick_older.expected, scenarios/cpus4_pick_older.scen,
scenarios/cpus4_priority.expected, scenarios/cpus4_priority.scen,
scenarios/cpus4_simple_nopreempt.expected,
scenarios/cpus4_simple_nopreempt.scen,
scenarios/cpus4_simple_preemption.expected,
scenarios/cpus4_simple_preemption.scen,
scenarios/cpus4_suspend_on_all.expected,
scenarios/cpus4_suspend_on_all.scen,
scenarios/cpus4_suspend_on_primary.expected,
scenarios/cpus4_suspend_on_primary.scen,
scenarios/cpus4_suspend_on_secondary.expected,
scenarios/cpus4_suspend_on_secondary.scen: New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Merge and update code. Simulators for Deterministic
Priority and SMP Simple Schedulers now work.
* ChangeLog, smp_stub.c, scenarios/script01.expected,
scenarios/script01.output, scenarios/script01.scen,
scenarios/script02.expected, scenarios/script02.output,
scenarios/script02.scen, scenarios/script03.expected,
scenarios/script03.output, scenarios/script03.scen,
scenarios/script04.expected, scenarios/script04.output,
scenarios/script04.scen, scenarios/script05.expected,
scenarios/script05.output, scenarios/script05.scen,
scenarios/script06.expected, scenarios/script06.output,
scenarios/script06.scen: New files.
* scenarios/script01, scenarios/script02, scenarios/script03,
scenarios/script04, scenarios/script05, scenarios/script06: Removed.
|
|
|