Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Huber
cb5eaddf95 rtems: Rename rtems_smp_get_current_processor()
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-11 08:52:54 +02:00
Sebastian Huber
4bc8d2e717 rtems: Rename rtems_smp_get_processor_count()
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-04-11 08:52:54 +02:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
ad48ebbfc7 tests/smptests: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Sebastian Huber
50ccf988c2 rtems: Error for task delete on SMP
Task deletion is currently not implemented on SMP configurations.
2013-07-22 16:46:01 +02:00
Sebastian Huber
39e51758c8 smp: Add and use _CPU_SMP_Get_current_processor()
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-07-17 13:09:49 +02:00
Sebastian Huber
edde99bd21 score: Rename rtems_smp_get_number_of_processors()
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-06-14 16:26:07 +02:00
Sebastian Huber
ac2bb464a5 smptests: Use priority ceiling for locked print
In case the printf() blocks on a semaphore it was possible to end up in
a livelock.
2013-05-31 15:20:30 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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-11 08:44:13 -05:00
Jennifer Averett
cf288c3898 2011-07-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* 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-07-29 12:29:34 +00:00
Joel Sherrill
e049eeae90 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* .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.
2011-06-28 21:08:48 +00:00