Commit Graph

5 Commits

Author SHA1 Message Date
Sebastian Huber
3380ee8194 score: Use common names for per-CPU variables
Use "cpu" for an arbitrary Per_CPU_Control variable.

Use "cpu_self" for the Per_CPU_Control of the current processor.

Use "cpu_index" for an arbitrary processor index.

Use "cpu_index_self" for the processor index of the current processor.

Use "cpu_count" for the processor count obtained via
_SMP_Get_processor_count().

Use "cpu_max" for the processor maximum obtained by
rtems_configuration_get_maximum_processors().
2014-04-22 08:34:45 +02:00
Sebastian Huber
774edf2c9b score: Use _Per_CPU_Get_snapshot() 2014-04-22 08:34:45 +02:00
Sebastian Huber
b0efca5b51 score: _Debug_Is_thread_dispatching_allowed()
Do not check ISR level in _Debug_Is_thread_dispatching_allowed().
2014-03-24 08:31:01 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
ff25926701 score: Delete _Assert_Thread_dispatching_repressed
Add _Debug_Is_thread_dispatching_allowed().  This makes it possible to
assert the opposite.

Use _ISR_Disable_without_giant()/_ISR_Enable_without_giant() to avoid
misleading secondary assertion failures.
2014-03-19 08:34:26 +01:00