1 | /* |
---|
2 | * Region 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/object.h> |
---|
19 | #include <rtems/rtems/options.h> |
---|
20 | #include <rtems/rtems/region.h> |
---|
21 | #include <rtems/score/states.h> |
---|
22 | #include <rtems/score/thread.h> |
---|
23 | #include <rtems/score/interr.h> |
---|
24 | |
---|
25 | void _Region_Manager_initialization( |
---|
26 | unsigned32 maximum_regions |
---|
27 | ) |
---|
28 | { |
---|
29 | } |
---|
30 | |
---|
31 | rtems_status_code rtems_region_create( |
---|
32 | rtems_name name, |
---|
33 | void *starting_address, |
---|
34 | unsigned32 length, |
---|
35 | unsigned32 page_size, |
---|
36 | rtems_attribute attribute_set, |
---|
37 | Objects_Id *id |
---|
38 | ) |
---|
39 | { |
---|
40 | _Internal_error_Occurred( |
---|
41 | INTERNAL_ERROR_RTEMS_API, |
---|
42 | FALSE, |
---|
43 | RTEMS_NOT_CONFIGURED |
---|
44 | ); |
---|
45 | return RTEMS_NOT_CONFIGURED; |
---|
46 | } |
---|
47 | |
---|
48 | rtems_status_code rtems_region_ident( |
---|
49 | rtems_name name, |
---|
50 | Objects_Id *id |
---|
51 | ) |
---|
52 | { |
---|
53 | _Internal_error_Occurred( |
---|
54 | INTERNAL_ERROR_RTEMS_API, |
---|
55 | FALSE, |
---|
56 | RTEMS_NOT_CONFIGURED |
---|
57 | ); |
---|
58 | return RTEMS_NOT_CONFIGURED; |
---|
59 | } |
---|
60 | |
---|
61 | rtems_status_code rtems_region_delete( |
---|
62 | Objects_Id id |
---|
63 | ) |
---|
64 | { |
---|
65 | _Internal_error_Occurred( |
---|
66 | INTERNAL_ERROR_RTEMS_API, |
---|
67 | FALSE, |
---|
68 | RTEMS_NOT_CONFIGURED |
---|
69 | ); |
---|
70 | return RTEMS_NOT_CONFIGURED; |
---|
71 | } |
---|
72 | |
---|
73 | rtems_status_code rtems_region_get_segment( |
---|
74 | Objects_Id id, |
---|
75 | unsigned32 size, |
---|
76 | rtems_option option_set, |
---|
77 | rtems_interval timeout, |
---|
78 | void **segment |
---|
79 | ) |
---|
80 | { |
---|
81 | _Internal_error_Occurred( |
---|
82 | INTERNAL_ERROR_RTEMS_API, |
---|
83 | FALSE, |
---|
84 | RTEMS_NOT_CONFIGURED |
---|
85 | ); |
---|
86 | return RTEMS_NOT_CONFIGURED; |
---|
87 | } |
---|
88 | |
---|
89 | rtems_status_code rtems_region_get_segment_size( |
---|
90 | Objects_Id id, |
---|
91 | void *segment, |
---|
92 | unsigned32 *size |
---|
93 | ) |
---|
94 | { |
---|
95 | _Internal_error_Occurred( |
---|
96 | INTERNAL_ERROR_RTEMS_API, |
---|
97 | FALSE, |
---|
98 | RTEMS_NOT_CONFIGURED |
---|
99 | ); |
---|
100 | return RTEMS_NOT_CONFIGURED; |
---|
101 | } |
---|
102 | |
---|
103 | rtems_status_code rtems_region_return_segment( |
---|
104 | Objects_Id id, |
---|
105 | void *segment |
---|
106 | ) |
---|
107 | { |
---|
108 | _Internal_error_Occurred( |
---|
109 | INTERNAL_ERROR_RTEMS_API, |
---|
110 | FALSE, |
---|
111 | RTEMS_NOT_CONFIGURED |
---|
112 | ); |
---|
113 | return RTEMS_NOT_CONFIGURED; |
---|
114 | } |
---|