summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp01 (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber1-3/+3
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 Huber2-2/+2
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-10testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns1-22/+0
This change is part of the testsuite Makefile.am reorganization. Update #3382
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-02-14Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber1-3/+3
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
2017-02-02Remove CONFIGURE_SMP_APPLICATIONSebastian Huber1-1/+0
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
2014-04-11rtems: Rename rtems_smp_get_current_processor()Sebastian Huber2-2/+2
Rename rtems_smp_get_current_processor() in rtems_get_current_processor(). Make rtems_get_current_processor() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
2014-04-11rtems: Rename rtems_smp_get_processor_count()Sebastian Huber1-3/+3
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.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns4-4/+4
2014-03-17tests/smptests: Use <rtems/test.h>Sebastian Huber2-4/+8
2013-07-17smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2-7/+11
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.
2013-06-14score: Rename rtems_smp_get_number_of_processors()Sebastian Huber1-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.
2013-05-27smptests/smp01: Do not assume CPU 0 runs InitSebastian Huber1-19/+22
2013-05-27smptests/smp01: Fix semaphore countSebastian Huber1-0/+1
The locked print needs one semaphore.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill5-13/+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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill1-0/+5
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius1-5/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
PR 1589/build * smp01/Makefile.am, smp02/Makefile.am, smp03/Makefile.am, smp04/Makefile.am, smp05/Makefile.am, smp06/Makefile.am, smp07/Makefile.am, smp08/Makefile.am, smp09/Makefile.am: Remove obsolete optional manager capability.
2011-07-292011-07-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett1-3/+2
* smp01/init.c, smp02/init.c, smp02/tasks.c, smp03/init.c, smp03/tasks.c, smp04/Makefile.am, smp04/init.c, smp05/init.c, smp06/init.c, smp07/init.c, smp08/init.c: Cleaned up tests and fixed some print statement problems. * smp04/tasks.c: Removed.
2011-06-292011-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* smp01/smp01.doc, smp02/smp02.doc, smp03/smp03.doc, smp04/smp04.doc, smp05/smp05.doc, smp07/smp07.doc, smp08/smp08.doc, smp08/system.h, smp08/tasks.c: Update copyright.
2011-06-282011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill7-0/+244
* .configure.ac.swp, ChangeLog, Makefile.am, README, config.h.in, configure.ac, smp01/.cvsignore, smp01/Makefile.am, smp01/init.c, smp01/smp01.doc, smp01/smp01.scn, smp01/system.h, smp01/tasks.c, smp02/.cvsignore, smp02/Makefile.am, smp02/init.c, smp02/smp02.doc, smp02/smp02.scn, smp02/system.h, smp02/tasks.c, smp03/.cvsignore, smp03/Makefile.am, smp03/init.c, smp03/smp03.doc, smp03/smp03.scn, smp03/system.h, smp03/tasks.c, smp04/.cvsignore, smp04/Makefile.am, smp04/init.c, smp04/smp04.doc, smp04/smp04.scn, smp04/system.h, smp04/tasks.c, smp05/.cvsignore, smp05/Makefile.am, smp05/init.c, smp05/smp05.doc, smp05/smp05.scn, smp06/.cvsignore, smp06/Makefile.am, smp06/init.c, smp06/smp06.doc, smp06/smp06.scn, smp07/.cvsignore, smp07/Makefile.am, smp07/init.c, smp07/smp07.doc, smp07/smp07.scn, smp08/.cvsignore, smp08/Makefile.am, smp08/init.c, smp08/smp08.doc, smp08/smp08.scn, smp08/system.h, smp08/tasks.c, smp09/.cvsignore, smp09/Makefile.am, smp09/init.c, smp09/smp09.doc, smp09/smp09.scn: New files.