summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/watchdogimpl.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Replace watchdog handler implementationSebastian Huber2016-03-041-334/+267
| | | | | | | | | Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
* score: Distribute clock tick to all online CPUsSebastian Huber2016-03-041-3/+4
| | | | Update #2554.
* score: Avoid SCORE_EXTERNSebastian Huber2016-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Delete SCORE_INIT. This finally removes the some.h: #ifndef SOME_XYZ_EXTERN #define SOME_XYZ_EXTERN extern #endif SOME_XYZ_EXTERN type xyz; some_xyz.c: #define SOME_XYZ_EXTERN #include <some.h> pattern in favour of some.h: extern type xyz; some_xyz.c #include <some.h> type xyz; Update #2559.
* score: Add _Watchdog_Preinitialize()Sebastian Huber2015-06-131-1/+22
| | | | | | Add an assert to ensure that the watchdog is the proper state for a _Watchdog_Initialize(). This helps to detect invalid initializations which may lead to a corrupt watchdog chain.
* score: Delete unused state WATCHDOG_REMOVE_ITSebastian Huber2015-06-131-14/+0
|
* timecounter: Use in RTEMSAlexander Krutwig2015-05-201-0/+7
| | | | | | | | Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
* score: New timer server implementationSebastian Huber2015-05-191-13/+46
| | | | | | | | Use mostly the standard watchdog operations. Use a system event for synchronization. This implementation is simpler and offers better SMP performance. Close #2131.
* score: Move _Watchdog_Tickle()Sebastian Huber2015-05-191-10/+0
| | | | | | | Make internal function _Watchdog_Remove_it() static to avoid accidental usage. Update #2307.
* score: Add Watchdog_IteratorSebastian Huber2015-05-191-16/+42
| | | | | | | | | | Rewrite the _Watchdog_Insert(), _Watchdog_Remove() and _Watchdog_Tickle() functions to use iterator items to synchronize concurrent operations. This makes it possible to get rid of the global variables _Watchdog_Sync_level and _Watchdog_Sync_count which are a blocking point for scalable SMP solutions. Update #2307.
* score: Add _Watchdog_Acquire|Release|Flash()Sebastian Huber2015-05-191-0/+30
| | | | Update #2307.
* score: Add header to _Watchdog_Remove()Sebastian Huber2015-05-191-1/+17
| | | | | | | | Add watchdog header parameter to _Watchdog_Remove() to be in line with the other operations. Add _Watchdog_Remove_ticks() and _Watchdog_Remove_seconds() for convenience. Update #2307.
* score: Delete unused WATCHDOG_MAXIMUM_INTERVALSebastian Huber2015-04-161-8/+0
|
* score: Rename _Watchdog_Reset()Sebastian Huber2015-04-141-1/+1
| | | | Update #2307.
* score: Add Watchdog_HeaderSebastian Huber2015-04-131-19/+43
| | | | | | | This type is intended to encapsulate all state to manage a watchdog chain. Update #2307.
* score: Split _Watchdog_Adjust()Sebastian Huber2015-04-131-58/+20
| | | | | | | | | Split _Watchdog_Adjust() into _Watchdog_Adjust_backward() and _Watchdog_Adjust_forward(). Remove Watchdog_Adjust_directions, _Watchdog_Adjust_seconds() and _Watchdog_Adjust_ticks(). This avoids to check the same condition again. Update #2307.
* rtems: Inline rtems_clock_get_ticks_since_boot()Sebastian Huber2014-08-251-8/+0
| | | | Update documentation.
* score: Delete _Watchdog_Report()Sebastian Huber2014-03-251-39/+0
| | | | | | | Delete _Watchdog_Report_chain(). These two functions use printk() with thread dispatching and interrupts disabled. So they are pretty useless in real applications. They are not part of the application APIs. They are only used in one test and do nothing useful in this test.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Move nanoseconds since last tick supportSebastian Huber2013-08-011-16/+0
| | | | | | Move the nanoseconds since last tick support from the Watchdog to the TOD handler. Now the TOD managment is encapsulated in the TOD_Control structure.
* score: Add WATCHDOG_INITIALIZER()Sebastian Huber2013-07-221-0/+13
|
* score: Create watchdog implementation headerSebastian Huber2013-07-221-0/+476
Move implementation specific parts of watchdog.h and watchdog.inl into new header file watchdogimpl.h. The watchdog.h contains now only the application visible API.