summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpatomic01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-231-1/+1
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* rtems: Add rtems_scheduler_get_processor()Sebastian Huber2019-04-091-3/+3
| | | | | | | | | | | Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
* testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-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.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-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.
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-141-1/+1
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-021-2/+0
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* smptests/smpatomic01: Fix seqlock writeSebastian Huber2016-06-081-1/+3
|
* smptests/smpatomic01: Add seqlock test caseSebastian Huber2016-06-072-0/+235
|
* smptests/smpatomic01: New test casesSebastian Huber2016-06-012-18/+349
| | | | | Demonstrate that a read-modify-write atomic operation may be necessary on some archtitectures to observe the latest value written.
* score: Use uintptr_t for atomic pointer operationsSebastian Huber2015-09-262-16/+0
| | | | Do not obfuscate the standard API.
* testsupport: Add worker setup handlerSebastian Huber2015-03-171-11/+24
| | | | Add rtems_test_parallel_get_task_id().
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-061-30/+60
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-051-147/+140
|
* score: Make <rtems/score/atomic.h> availableSebastian Huber2015-02-192-207/+0
| | | | | | | | Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
* tests: Add documentationSebastian Huber2014-09-011-2/+27
|
* rtems: Rename rtems_smp_get_processor_count()Sebastian Huber2014-04-111-1/+1
| | | | | | Rename rtems_smp_get_processor_count() in rtems_get_processor_count(). Make rtems_get_processor_count() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* tests/smptests: Use <rtems/test.h>Sebastian Huber2014-03-171-3/+6
|
* score: Add _Atomic_Fence()Sebastian Huber2014-03-062-19/+70
|
* score: Add SMP barrierSebastian Huber2014-02-171-46/+2
|
* score: Add Atomic_UintSebastian Huber2014-02-141-0/+54
|
* rename smpatomic08 to smpatomic01WeiY2013-10-084-0/+655
|
* delete smpatomic0-7 test casesWeiY2013-10-086-266/+0
|
* score: Use unsigned long for atomic integersSebastian Huber2013-09-031-2/+2
| | | | | | | Use unsigned long instead of uint_fast32_t since C11 provides only a ATOMIC_LONG_LOCK_FREE macro constant. This makes it also possible to use properly typed integer literals like 123UL. It is now clear which compatible type should be used for the atomic integer.
* smptests: Move ATOMIC conditional to top-levelSebastian Huber2013-08-281-4/+0
|
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-171-2/+2
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* stdatomic.h support check when configureWeiY2013-07-171-2/+4
|
* smpatomic test case updateWeiY2013-07-171-20/+13
|
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-141-3/+3
| | | | | | | | | Rename in rtems_smp_get_processor_count(). Always provide <rtems/score/smp.h> and <rtems/rtems/smp.h>. Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations.
* tests: atomic support for RTEMS. SMP tests for atomic operations.WeiY2013-02-076-0/+275