summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical08/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-04-05testsuites/sptests/sp[g-r]*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2021-11-23score: Simplify thread wait state handlingSebastian Huber1-12/+1
Remove the THREAD_WAIT_STATE_READY_AGAIN and simply use the initial value to indicate that a thread does not wait on something. Rename THREAD_WAIT_FLAGS_INITIAL to THREAD_WAIT_STATE_READY. This change is necessary so that _Thread_Continue() can be called for threads which never waited on something (for example dormant threads). Update #4546.
2020-09-10spintrcritical08: Increase clock tick intervalSebastian Huber1-1/+1
On some simulators, a clock tick interval of 1ms seems to be too short. For example, the test failed on sparc/erc32 using the SIS.
2020-07-23spintrcritical08: Use T_interrupt_test()Sebastian Huber1-74/+132
2018-02-02score: Introduce new monotonic clockSebastian Huber1-2/+2
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS. Add new PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured by timecounter). Close #3264.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-0/+2
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-10-17score: Rename watchdog variantsSebastian Huber1-2/+2
Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182.
2016-03-22rtems: Rework rate-monotonic schedulerSebastian Huber1-12/+20
Use the default thread lock to protect rate-monotonic state changes. This avoids use of the Giant lock. Split rtems_rate_monotonic_period() body into several static functions. Introduce a new thread wait class THREAD_WAIT_CLASS_PERIOD for period objects to synchronize the blocking operation. Close #2631.
2016-03-04score: Replace watchdog handler implementationSebastian Huber1-14/+12
Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
2015-05-19score: Add header to _Watchdog_Remove()Sebastian Huber1-1/+1
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.
2015-04-13score: Add Watchdog_HeaderSebastian Huber1-3/+3
This type is intended to encapsulate all state to manage a watchdog chain. Update #2307.
2014-09-10tests: Rework interrupt critical testsSebastian Huber1-25/+45
This avoids test durations of more than one hour on fast targets, since fast targets can count a lot during one clock tick period, so the minor loop iteration count was quite high. Estimate now the test body duration to iterate only through the interesting time window. Add and use interrupt_critical_section_test().
2014-03-25tests/sptests: Use <rtems/test.h>Sebastian Huber1-2/+6
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber1-1/+0
2013-07-23rtems: Create ratemon implementation headerSebastian Huber1-0/+1
Move implementation specific parts of ratemon.h and ratemon.inl into new header file ratemonimpl.h. The ratemon.h contains now only the application visible API.
2012-05-31sptests - Eliminate missing prototype warningsJoel Sherrill1-1/+6
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-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.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2009-11-30Whitespace removal.Ralf Corsepius1-2/+2
2009-08-062009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-0/+1
* spintrcritical01/init.c, spintrcritical06/init.c, spintrcritical08/init.c, spintrcritical13/init.c: Lower microseconds per tick so tests run quicker and more reliably hit the intended critical section.
2009-07-232009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+2
* spintrcritical01/init.c, spintrcritical06/init.c, spintrcritical08/init.c, spintrcritical09/init.c: Perform some cleanup and make the tests more similar.
2009-07-212009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+99
* spintrcritical06/init.c: Add comment to indicate test is not finished and known to not hit the case. * Makefile.am, configure.ac: Add a couple more interrupt critical section tests. * spintrcritical08/.cvsignore, spintrcritical08/Makefile.am, spintrcritical08/init.c, spintrcritical08/spintrcritical08.doc, spintrcritical08/spintrcritical08.scn, spintrcritical09/.cvsignore, spintrcritical09/Makefile.am, spintrcritical09/init.c, spintrcritical09/spintrcritical09.doc, spintrcritical09/spintrcritical09.scn: New files.