summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/macros/event.inl
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/macros/event.inl')
-rw-r--r--c/src/exec/rtems/macros/event.inl14
1 files changed, 13 insertions, 1 deletions
diff --git a/c/src/exec/rtems/macros/event.inl b/c/src/exec/rtems/macros/event.inl
index 1d4cb78237..0d2f2e47c7 100644
--- a/c/src/exec/rtems/macros/event.inl
+++ b/c/src/exec/rtems/macros/event.inl
@@ -22,7 +22,19 @@
*/
#define _Event_Manager_initialization() \
- _Event_Sync = FALSE
+ do { \
+ \
+ _Event_Sync = FALSE; \
+ \
+ /* \
+ * Register the MP Process Packet routine. \
+ */ \
+ \
+ _MPCI_Register_packet_processor( \
+ MP_PACKET_EVENT, \
+ _Event_MP_Process_packet \
+ ); \
+ } while ( 0 )
#endif
/* end of include file */