summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical09/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-1/+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-07-23spintrcritical09: Use T_interrupt_test()Sebastian Huber1-43/+78
2018-02-02score: Introduce new monotonic clockSebastian Huber1-1/+1
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-1/+1
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-04score: Replace watchdog handler implementationSebastian Huber1-14/+13
Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
2015-05-19score: New thread queue implementationSebastian Huber1-16/+12
Use thread wait flags for synchronization. The enqueue operation is now part of the initial critical section. This is the key change and enables fine grained locking on SMP for objects using a thread queue like semaphores and message queues. Update #2273.
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-12/+12
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-22score: Create watchdog implementation headerSebastian Huber1-0/+1
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.
2013-07-18rtems: Create semaphore implementation headerSebastian Huber1-0/+2
Move implementation specific parts of sem.h and sem.inl into new header file semimpl.h. The sem.h contains now only the application visible API.
2012-11-13sptests/spintrcritical09: Fix check orderSebastian Huber1-17/+25
The critical section check never succeeded since watchdogs are ordered with respect to the insertion time. Now we call the watchdog routine if appropriate and bypass the normal watchdog mechanic.
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-10-052009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-2/+0
* sptests/spintrcritical09/init.c, sptests/spintrcritical10/init.c, sptests/spintrcritical11/init.c: Fixed potentially infinite loops. * sp20/system.h: Increased micro seconds per tick in order to be more independent of the console output speed.
2009-07-232009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-5/+5
* spintrcritical01/init.c, spintrcritical06/init.c, spintrcritical08/init.c, spintrcritical09/init.c: Perform some cleanup and make the tests more similar.
2009-07-222009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-31/+9
* spintrcritical09/init.c, spintrcritical09/spintrcritical09.scn: Make test work for case that it is documented to handle.
2009-07-212009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+2
* spintrcritical06/init.c: Clean up. * spintrcritical09/init.c: Adjust clock tick so it works on erc32. * spintrcritical09/spintrcritical09.scn: Fill in.
2009-07-212009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+125
* 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.