summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/clock_driver_simidle.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-201-0/+2
| | | | Update #2271.
* clock_driver_simidle.c: Add BSP_CLOCK_DRIVER_DELAYJoel Sherrill2015-01-041-0/+10
| | | | | | | | | This allows the BSP to define an optional spin delay which is useful for making time appear to pass at a rate closer to wall time. On the Edison, this was used with a polled console driver to slow polling to a reasonable rate and make time pass reasonably close to correctly even with no clock tick support.
* Include missing <rtems/score/threaddispatch.h>Sebastian Huber2013-07-261-2/+2
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2008-10-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-131-2/+9
| | | | | | | * 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.
* 2008-09-30 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-301-1/+1
| | | | | * clockdrv_shell.c: Empty file. Add warning to not use this file. * clock_driver_simidle.c: include clockdrv_shell.h.
* 2008-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-241-0/+47
* 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.