| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* clock_driver_simidle.c: Ensure ISR nest level and Thread Dispatch
disable level are in the same state they would be in a true ISR. This
ensures that all of the clock tick handling is as similar as possible
in this limited environment.
|
|
|
|
|
| |
* clockdrv_shell.c: Empty file. Add warning to not use this file.
* clock_driver_simidle.c: include clockdrv_shell.h.
|
|
* clock_driver_simidle.c: New file.
This implementation is for BSPs for simulators without a clock tick
ISR. It provides a special IDLE task that calls rtems_clock_tick()
repeatedly when the application ends up in the IDLE task. This
simulates time advancing. It is enough to run many tests but
will not result in the correct behavior when you want timeslicing.
This is because timeslicing assumes that a tick ISR determines
that the currently executing thread must be switched out. Without
a clock tick ISR, this will not occur.
|