summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpcache01/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-07testsuites/smptests/*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-05-20smptests: Move SMP broadcast action test caseSebastian Huber1-40/+1
2019-04-12score: More robust _SMP_Multicast_action()Sebastian Huber1-4/+1
If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
2019-04-12score: Rework SMP multicast actionSebastian Huber1-1/+4
Use a FIFO list of jobs per processor to carry out the SMP multicast action. Use a done indicator per job to reduce the bus traffic a bit.
2019-04-12score: Use processor mask in _SMP_Multicast_actionSebastian Huber1-38/+20
Processor_mask is the internal data type to deal with processor sets.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber1-6/+11
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber1-6/+6
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.
2018-11-26Remove rtems_cache_*_processor_set() functionsSebastian Huber1-45/+7
The following rtems_cache_*_processor_set() cache manager API functions are exotic, complex, very hard to use correctly, not used in the RTEMS code base, and apparently unused by applications. Close #3622.
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-04-05smpcache01: Fix test to run on QorIQ T4240Sebastian Huber1-31/+70
2017-02-14Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber1-1/+1
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
2017-02-02Remove CONFIGURE_SMP_APPLICATIONSebastian Huber1-2/+0
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
2016-05-20score: Rename _ISR_Disable_without_giant()Sebastian Huber1-2/+2
Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
2016-05-20testsuites: Avoid Giant lockSebastian Huber1-9/+8
Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.
2015-05-15smptests/smpcache01: RestructureSebastian Huber1-103/+102
Restructure to avoid large maximum thread dispatch disabled times.
2015-04-22smptests/smpcache01: Enable interrupts before waiting for other CPUsDaniel Cederman1-2/+2
Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs.
2015-04-20score: Refactor SMP cache manager supportSebastian Huber1-17/+6
2015-03-04smptests: Do not use Giant directlySebastian Huber1-4/+4
This ensures that thread dispatching is disabled. A Giant acquire/release pair must take place in the same processor.
2014-09-16smptests/smpcache01: Remove invalidation of data cache lines from testDaniel Cederman1-20/+27
Invalidation of entire data cache might cause data written to the stack to get lost.
2014-08-22smptests/smpcache01: Test the SMP cache managerDaniel Cederman1-0/+291
Invokes SMP cache management routines under different scenarios.