[ac7d5ef0] | 1 | /* |
---|
| 2 | * Event Manager |
---|
| 3 | * |
---|
[60b791ad] | 4 | * COPYRIGHT (c) 1989-1998. |
---|
[ac7d5ef0] | 5 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 6 | * Copyright assigned to U.S. Government, 1994. |
---|
[ac7d5ef0] | 7 | * |
---|
[98e4ebf5] | 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 10 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 11 | * |
---|
| 12 | * $Id$ |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | #include <rtems/system.h> |
---|
[3a4ae6c] | 16 | #include <rtems/rtems/status.h> |
---|
| 17 | #include <rtems/rtems/event.h> |
---|
[5e9b32b] | 18 | #include <rtems/score/isr.h> |
---|
| 19 | #include <rtems/score/object.h> |
---|
[3a4ae6c] | 20 | #include <rtems/rtems/options.h> |
---|
[5e9b32b] | 21 | #include <rtems/score/states.h> |
---|
| 22 | #include <rtems/score/thread.h> |
---|
[3b76313] | 23 | #include <rtems/score/interr.h> |
---|
| 24 | |
---|
| 25 | void _Event_Manager_initialization( void ) |
---|
| 26 | { |
---|
| 27 | } |
---|
[ac7d5ef0] | 28 | |
---|
| 29 | rtems_status_code rtems_event_send( |
---|
| 30 | Objects_Id id, |
---|
| 31 | rtems_event_set event_in |
---|
| 32 | ) |
---|
| 33 | { |
---|
[3b76313] | 34 | _Internal_error_Occurred( |
---|
| 35 | INTERNAL_ERROR_RTEMS_API, |
---|
| 36 | FALSE, |
---|
| 37 | RTEMS_NOT_CONFIGURED |
---|
| 38 | ); |
---|
[3a4ae6c] | 39 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 40 | } |
---|
| 41 | |
---|
| 42 | rtems_status_code rtems_event_receive( |
---|
| 43 | rtems_event_set event_in, |
---|
| 44 | rtems_option option_set, |
---|
| 45 | rtems_interval ticks, |
---|
| 46 | rtems_event_set *event_out |
---|
| 47 | ) |
---|
| 48 | { |
---|
[3b76313] | 49 | _Internal_error_Occurred( |
---|
| 50 | INTERNAL_ERROR_RTEMS_API, |
---|
| 51 | FALSE, |
---|
| 52 | RTEMS_NOT_CONFIGURED |
---|
| 53 | ); |
---|
[3a4ae6c] | 54 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 55 | } |
---|
| 56 | |
---|