diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-14 14:59:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:52 +0100 |
commit | ae85b0663eb19db435476d268a10187633f2ba56 (patch) | |
tree | 4696bcfaa9ccf2f07f2047853a7df56f7e36ea36 /cpukit/rtems/src/eventseize.c | |
parent | Optional Classic Signal initialization (diff) | |
download | rtems-ae85b0663eb19db435476d268a10187633f2ba56.tar.bz2 |
Optional Classic Event initialization
Update #2408.
Diffstat (limited to 'cpukit/rtems/src/eventseize.c')
-rw-r--r-- | cpukit/rtems/src/eventseize.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/rtems/src/eventseize.c b/cpukit/rtems/src/eventseize.c index 9c41b777f9..3dc554f61b 100644 --- a/cpukit/rtems/src/eventseize.c +++ b/cpukit/rtems/src/eventseize.c @@ -18,6 +18,7 @@ #include "config.h" #endif +#include <rtems/sysinit.h> #include <rtems/rtems/eventimpl.h> #include <rtems/rtems/optionsimpl.h> #include <rtems/score/threadimpl.h> @@ -118,3 +119,16 @@ void _Event_Seize( _Thread_Dispatch_enable( cpu_self ); } + +#if defined(RTEMS_MULTIPROCESSING) +static void _Event_Manager_initialization( void ) +{ + _MPCI_Register_packet_processor( MP_PACKET_EVENT, _Event_MP_Process_packet ); +} + +RTEMS_SYSINIT_ITEM( + _Event_Manager_initialization, + RTEMS_SYSINIT_CLASSIC_EVENT, + RTEMS_SYSINIT_ORDER_MIDDLE +); +#endif |