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