4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * Event Manager |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-1999. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.OARcorp.com/rtems/license.html. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #include <rtems/system.h> |
---|
15 | #include <rtems/rtems/status.h> |
---|
16 | #include <rtems/rtems/event.h> |
---|
17 | #include <rtems/score/isr.h> |
---|
18 | #include <rtems/score/object.h> |
---|
19 | #include <rtems/rtems/options.h> |
---|
20 | #include <rtems/score/states.h> |
---|
21 | #include <rtems/score/thread.h> |
---|
22 | #include <rtems/rtems/tasks.h> |
---|
23 | |
---|
24 | /*PAGE |
---|
25 | * |
---|
26 | * _Event_Manager_initialization |
---|
27 | * |
---|
28 | * DESCRIPTION: |
---|
29 | * |
---|
30 | * This routine performs the initialization necessary for this manager. |
---|
31 | */ |
---|
32 | |
---|
33 | void _Event_Manager_initialization( void ) |
---|
34 | { |
---|
35 | _Event_Sync_state = EVENT_SYNC_SYNCHRONIZED; |
---|
36 | |
---|
37 | /* |
---|
38 | * Register the MP Process Packet routine. |
---|
39 | */ |
---|
40 | |
---|
41 | #if defined(RTEMS_MULTIPROCESSING) |
---|
42 | _MPCI_Register_packet_processor( MP_PACKET_EVENT, _Event_MP_Process_packet ); |
---|
43 | #endif |
---|
44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.