[ac7d5ef0] | 1 | /* |
---|
| 2 | * Rate Monotonic Manager |
---|
| 3 | * |
---|
| 4 | * |
---|
[60b791ad] | 5 | * COPYRIGHT (c) 1989-1998. |
---|
[ac7d5ef0] | 6 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 7 | * Copyright assigned to U.S. Government, 1994. |
---|
[ac7d5ef0] | 8 | * |
---|
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 11 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include <rtems/system.h> |
---|
[3a4ae6c] | 17 | #include <rtems/rtems/status.h> |
---|
[5e9b32b] | 18 | #include <rtems/score/isr.h> |
---|
| 19 | #include <rtems/score/object.h> |
---|
| 20 | #include <rtems/score/thread.h> |
---|
[3b76313] | 21 | #include <rtems/score/interr.h> |
---|
[3a4ae6c] | 22 | |
---|
| 23 | #include <rtems/rtems/types.h> |
---|
| 24 | #include <rtems/rtems/ratemon.h> |
---|
[ac7d5ef0] | 25 | |
---|
| 26 | void _Rate_monotonic_Manager_initialization( |
---|
| 27 | unsigned32 maximum_periods |
---|
| 28 | ) |
---|
| 29 | { |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | rtems_status_code rtems_rate_monotonic_create( |
---|
[3235ad9] | 33 | rtems_name name, |
---|
[ac7d5ef0] | 34 | Objects_Id *id |
---|
| 35 | ) |
---|
| 36 | { |
---|
[3b76313] | 37 | _Internal_error_Occurred( |
---|
| 38 | INTERNAL_ERROR_RTEMS_API, |
---|
| 39 | FALSE, |
---|
| 40 | RTEMS_NOT_CONFIGURED |
---|
| 41 | ); |
---|
[3a4ae6c] | 42 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 43 | } |
---|
| 44 | |
---|
| 45 | rtems_status_code rtems_rate_monotonic_ident( |
---|
[3235ad9] | 46 | rtems_name name, |
---|
[ac7d5ef0] | 47 | Objects_Id *id |
---|
| 48 | ) |
---|
| 49 | { |
---|
[3b76313] | 50 | _Internal_error_Occurred( |
---|
| 51 | INTERNAL_ERROR_RTEMS_API, |
---|
| 52 | FALSE, |
---|
| 53 | RTEMS_NOT_CONFIGURED |
---|
| 54 | ); |
---|
[3a4ae6c] | 55 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 56 | } |
---|
| 57 | |
---|
| 58 | rtems_status_code rtems_rate_monotonic_cancel( |
---|
| 59 | Objects_Id id |
---|
| 60 | ) |
---|
| 61 | { |
---|
[3b76313] | 62 | _Internal_error_Occurred( |
---|
| 63 | INTERNAL_ERROR_RTEMS_API, |
---|
| 64 | FALSE, |
---|
| 65 | RTEMS_NOT_CONFIGURED |
---|
| 66 | ); |
---|
[3a4ae6c] | 67 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 68 | } |
---|
| 69 | |
---|
| 70 | rtems_status_code rtems_rate_monotonic_delete( |
---|
| 71 | Objects_Id id |
---|
| 72 | ) |
---|
| 73 | { |
---|
[3b76313] | 74 | _Internal_error_Occurred( |
---|
| 75 | INTERNAL_ERROR_RTEMS_API, |
---|
| 76 | FALSE, |
---|
| 77 | RTEMS_NOT_CONFIGURED |
---|
| 78 | ); |
---|
[3a4ae6c] | 79 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 80 | } |
---|
| 81 | |
---|
| 82 | rtems_status_code rtems_rate_monotonic_period( |
---|
| 83 | Objects_Id id, |
---|
| 84 | rtems_interval length |
---|
| 85 | ) |
---|
| 86 | { |
---|
[3b76313] | 87 | _Internal_error_Occurred( |
---|
| 88 | INTERNAL_ERROR_RTEMS_API, |
---|
| 89 | FALSE, |
---|
| 90 | RTEMS_NOT_CONFIGURED |
---|
| 91 | ); |
---|
[3a4ae6c] | 92 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 93 | } |
---|
| 94 | |
---|
| 95 | void _Rate_monotonic_Timeout( |
---|
| 96 | Objects_Id id, |
---|
| 97 | void *ignored |
---|
| 98 | ) |
---|
| 99 | { |
---|
[3b76313] | 100 | _Internal_error_Occurred( |
---|
| 101 | INTERNAL_ERROR_RTEMS_API, |
---|
| 102 | FALSE, |
---|
| 103 | RTEMS_NOT_CONFIGURED |
---|
| 104 | ); |
---|
[ac7d5ef0] | 105 | } |
---|
| 106 | |
---|
| 107 | boolean _Rate_monotonic_Set_state( |
---|
| 108 | Rate_monotonic_Control *the_period |
---|
| 109 | ) |
---|
| 110 | { |
---|
[3b76313] | 111 | _Internal_error_Occurred( |
---|
| 112 | INTERNAL_ERROR_RTEMS_API, |
---|
| 113 | FALSE, |
---|
| 114 | RTEMS_NOT_CONFIGURED |
---|
| 115 | ); |
---|
| 116 | return FALSE; |
---|
[ac7d5ef0] | 117 | } |
---|