forked from Imagelibrary/rtems
2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/schedulersimplesmp.h, score/src/schedulersimplesmptick.c: Build schedulersimplesmptick.c and fix typos.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* score/Makefile.am, score/include/rtems/score/schedulersimplesmp.h,
|
||||||
|
score/src/schedulersimplesmptick.c: Build schedulersimplesmptick.c
|
||||||
|
and fix typos.
|
||||||
|
|
||||||
2011-06-27 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2011-06-27 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* posix/include/semaphore.h, posix/include/rtems/posix/mutex.h,
|
* posix/include/semaphore.h, posix/include/rtems/posix/mutex.h,
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ endif
|
|||||||
if HAS_SMP
|
if HAS_SMP
|
||||||
libscore_a_SOURCES += src/smp.c src/smplock.c \
|
libscore_a_SOURCES += src/smp.c src/smplock.c \
|
||||||
src/schedulersimplesmpblock.c src/schedulersimplesmpschedule.c \
|
src/schedulersimplesmpblock.c src/schedulersimplesmpschedule.c \
|
||||||
src/schedulersimplesmpunblock.c src/schedulerprioritytick.c
|
src/schedulersimplesmpunblock.c src/schedulersimplesmptick.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
## CORE_APIMUTEX_C_FILES
|
## CORE_APIMUTEX_C_FILES
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ void _Scheduler_simple_smp_Unblock(
|
|||||||
*/
|
*/
|
||||||
void _Scheduler_simple_smp_Tick( void );
|
void _Scheduler_simple_smp_Tick( void );
|
||||||
|
|
||||||
/**
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -15,12 +15,14 @@
|
|||||||
|
|
||||||
#include <rtems/system.h>
|
#include <rtems/system.h>
|
||||||
#include <rtems/score/schedulersimplesmp.h>
|
#include <rtems/score/schedulersimplesmp.h>
|
||||||
|
#include <rtems/score/smp.h>
|
||||||
|
|
||||||
static void _Scheduler_simple_smp_Tick_helper(
|
static void _Scheduler_simple_smp_Tick_helper(
|
||||||
int cpu
|
int cpu
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Thread_Control *executing;
|
Thread_Control *executing;
|
||||||
|
ISR_Level level;
|
||||||
|
|
||||||
executing = _Per_CPU_Information[cpu].executing;
|
executing = _Per_CPU_Information[cpu].executing;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user