1 | /** |
---|
2 | * @file rtems/rtems/eventmp.h |
---|
3 | * |
---|
4 | * @defgroup ClassicEventMP Event MP Support |
---|
5 | * |
---|
6 | * @ingroup ClassicRTEMS |
---|
7 | * @brief Event Manager MP Support |
---|
8 | * |
---|
9 | * This include file contains all the constants and structures associated |
---|
10 | * with the Multiprocessing Support in the Event Manager. |
---|
11 | */ |
---|
12 | |
---|
13 | /* COPYRIGHT (c) 1989-2013. |
---|
14 | * On-Line Applications Research Corporation (OAR). |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.org/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef _RTEMS_RTEMS_EVENTMP_H |
---|
22 | #define _RTEMS_RTEMS_EVENTMP_H |
---|
23 | |
---|
24 | #ifndef _RTEMS_RTEMS_EVENTIMPL_H |
---|
25 | # error "Never use <rtems/rtems/eventmp.h> directly; include <rtems/rtems/eventimpl.h> instead." |
---|
26 | #endif |
---|
27 | |
---|
28 | #include <rtems/score/mpciimpl.h> |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | extern "C" { |
---|
32 | #endif |
---|
33 | |
---|
34 | /** |
---|
35 | * @defgroup ClassicEventMP Event MP Support |
---|
36 | * |
---|
37 | * @ingroup ClassicMP |
---|
38 | * |
---|
39 | * This encapsulates functionality related to the transparent multiprocessing |
---|
40 | * support within the Classic API Event Manager. |
---|
41 | */ |
---|
42 | /**@{*/ |
---|
43 | |
---|
44 | /* |
---|
45 | * @brief Event_MP_Send_process_packet |
---|
46 | * |
---|
47 | * This routine performs a remote procedure call so that a |
---|
48 | * process operation can be performed on another node. |
---|
49 | * |
---|
50 | * @note This routine is not needed since there are no process |
---|
51 | * packets to be sent by this manager. |
---|
52 | */ |
---|
53 | |
---|
54 | /** |
---|
55 | * @brief Issues a remote rtems_event_send() request. |
---|
56 | */ |
---|
57 | rtems_status_code _Event_MP_Send( |
---|
58 | rtems_id id, |
---|
59 | rtems_event_set event_in |
---|
60 | ); |
---|
61 | |
---|
62 | /** |
---|
63 | * @brief Event MP Packet Process |
---|
64 | * |
---|
65 | * This routine performs the actions specific to this package for |
---|
66 | * the request from another node. |
---|
67 | */ |
---|
68 | void _Event_MP_Process_packet ( |
---|
69 | rtems_packet_prefix *the_packet_prefix |
---|
70 | ); |
---|
71 | |
---|
72 | /* |
---|
73 | * @brief Event_MP_Send_object_was_deleted |
---|
74 | * |
---|
75 | * This routine is invoked indirectly by the thread queue |
---|
76 | * when a proxy has been removed from the thread queue and |
---|
77 | * the remote node must be informed of this. |
---|
78 | * |
---|
79 | * This routine is not needed since there are no objects |
---|
80 | * deleted by this manager. |
---|
81 | */ |
---|
82 | |
---|
83 | /* |
---|
84 | * @brief Event_MP_Send_extract_proxy |
---|
85 | * |
---|
86 | * This routine is invoked when a task is deleted and it |
---|
87 | * has a proxy which must be removed from a thread queue and |
---|
88 | * the remote node must be informed of this. |
---|
89 | * |
---|
90 | * This routine is not needed since there are no objects |
---|
91 | * deleted by this manager. |
---|
92 | */ |
---|
93 | |
---|
94 | #ifdef __cplusplus |
---|
95 | } |
---|
96 | #endif |
---|
97 | |
---|
98 | /**@}*/ |
---|
99 | |
---|
100 | #endif |
---|
101 | /* end of file */ |
---|