diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2011-05-26 18:07:07 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2011-05-26 18:07:07 +0000 |
commit | d4dc7c8196355f08044e67a3f5c1e19485f17ff1 (patch) | |
tree | 77437e47925428753b579caadf1e7b61f524ee4d /cpukit/sapi | |
parent | Fix broken cvs id. (diff) | |
download | rtems-d4dc7c8196355f08044e67a3f5c1e19485f17ff1.tar.bz2 |
2011-05-26 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1796/cpukit
* sapi/src/exshutdown.c, score/include/rtems/score/percpu.h,
score/include/rtems/score/smp.h, score/src/smp.c,
score/src/threaddispatch.c, score/src/threadhandler.c: Added SMP
interprocess communications.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/src/exshutdown.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/sapi/src/exshutdown.c b/cpukit/sapi/src/exshutdown.c index 5b0a5a1de1..1de3b843e2 100644 --- a/cpukit/sapi/src/exshutdown.c +++ b/cpukit/sapi/src/exshutdown.c @@ -1,7 +1,7 @@ /* * Initialization Manager * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -20,6 +20,10 @@ #include <rtems/score/thread.h> #include <rtems/score/interr.h> +#if defined(RTEMS_SMP) + #include <rtems/score/smp.h> +#endif + /* * rtems_shutdown_executive * @@ -37,6 +41,9 @@ void rtems_shutdown_executive( ) { if ( _System_state_Is_up( _System_state_Get() ) ) { + #if defined(RTEMS_SMP) + _SMP_Request_other_cores_to_shutdown(); + #endif _System_state_Set( SYSTEM_STATE_SHUTDOWN ); _Thread_Stop_multitasking(); } |