summaryrefslogtreecommitdiff
path: root/testsuites/smptests/smpschedaffinity02/init.c (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber
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 Huber
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-04-23smptests/smpschedaffinity02: Fix configurationSebastian Huber
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
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 Johns
- 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-02-14Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
2017-02-02Remove CONFIGURE_SMP_APPLICATIONSebastian Huber
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
2014-11-25smpschedaffinity02: Remove unused prototype.Jennifer Averett
2014-11-20smpschedaffinity02: Change semaphore attributes.Jennifer Averett
Change semaphore attributes to prevent semaphore from being locked and never released upon a context switch.
2014-07-11smpschedaffinity02: New test.Jennifer Averett
This test checks setting the affinity of a secondary task on a two core system.