1 | /* |
---|
2 | * Partition 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.rtems.com/license/LICENSE. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | #include <rtems/system.h> |
---|
16 | #include <rtems/rtems/status.h> |
---|
17 | #include <rtems/score/address.h> |
---|
18 | #include <rtems/score/object.h> |
---|
19 | #include <rtems/rtems/part.h> |
---|
20 | #include <rtems/score/thread.h> |
---|
21 | #include <rtems/score/interr.h> |
---|
22 | |
---|
23 | void _Partition_Manager_initialization( |
---|
24 | unsigned32 maximum_partitions |
---|
25 | ) |
---|
26 | { |
---|
27 | } |
---|
28 | |
---|
29 | rtems_status_code rtems_partition_create( |
---|
30 | rtems_name name, |
---|
31 | void *starting_address, |
---|
32 | unsigned32 length, |
---|
33 | unsigned32 buffer_size, |
---|
34 | rtems_attribute attribute_set, |
---|
35 | Objects_Id *id |
---|
36 | ) |
---|
37 | { |
---|
38 | _Internal_error_Occurred( |
---|
39 | INTERNAL_ERROR_RTEMS_API, |
---|
40 | FALSE, |
---|
41 | RTEMS_NOT_CONFIGURED |
---|
42 | ); |
---|
43 | return RTEMS_NOT_CONFIGURED; |
---|
44 | } |
---|
45 | |
---|
46 | rtems_status_code rtems_partition_ident( |
---|
47 | rtems_name name, |
---|
48 | unsigned32 node, |
---|
49 | Objects_Id *id |
---|
50 | ) |
---|
51 | { |
---|
52 | _Internal_error_Occurred( |
---|
53 | INTERNAL_ERROR_RTEMS_API, |
---|
54 | FALSE, |
---|
55 | RTEMS_NOT_CONFIGURED |
---|
56 | ); |
---|
57 | return RTEMS_NOT_CONFIGURED; |
---|
58 | } |
---|
59 | |
---|
60 | rtems_status_code rtems_partition_delete( |
---|
61 | Objects_Id id |
---|
62 | ) |
---|
63 | { |
---|
64 | _Internal_error_Occurred( |
---|
65 | INTERNAL_ERROR_RTEMS_API, |
---|
66 | FALSE, |
---|
67 | RTEMS_NOT_CONFIGURED |
---|
68 | ); |
---|
69 | return RTEMS_NOT_CONFIGURED; |
---|
70 | } |
---|
71 | |
---|
72 | rtems_status_code rtems_partition_get_buffer( |
---|
73 | Objects_Id id, |
---|
74 | void **buffer |
---|
75 | ) |
---|
76 | { |
---|
77 | _Internal_error_Occurred( |
---|
78 | INTERNAL_ERROR_RTEMS_API, |
---|
79 | FALSE, |
---|
80 | RTEMS_NOT_CONFIGURED |
---|
81 | ); |
---|
82 | return RTEMS_NOT_CONFIGURED; |
---|
83 | } |
---|
84 | |
---|
85 | rtems_status_code rtems_partition_return_buffer( |
---|
86 | Objects_Id id, |
---|
87 | void *buffer |
---|
88 | ) |
---|
89 | { |
---|
90 | _Internal_error_Occurred( |
---|
91 | INTERNAL_ERROR_RTEMS_API, |
---|
92 | FALSE, |
---|
93 | RTEMS_NOT_CONFIGURED |
---|
94 | ); |
---|
95 | return RTEMS_NOT_CONFIGURED; |
---|
96 | } |
---|