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