1 | /* |
---|
2 | * Partition 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 in |
---|
10 | * 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/address.h> |
---|
19 | #include <rtems/score/object.h> |
---|
20 | #include <rtems/rtems/part.h> |
---|
21 | #include <rtems/score/thread.h> |
---|
22 | #include <rtems/score/interr.h> |
---|
23 | |
---|
24 | void _Partition_Manager_initialization( |
---|
25 | unsigned32 maximum_partitions |
---|
26 | ) |
---|
27 | { |
---|
28 | } |
---|
29 | |
---|
30 | rtems_status_code rtems_partition_create( |
---|
31 | rtems_name name, |
---|
32 | void *starting_address, |
---|
33 | unsigned32 length, |
---|
34 | unsigned32 buffer_size, |
---|
35 | rtems_attribute attribute_set, |
---|
36 | Objects_Id *id |
---|
37 | ) |
---|
38 | { |
---|
39 | _Internal_error_Occurred( |
---|
40 | INTERNAL_ERROR_RTEMS_API, |
---|
41 | FALSE, |
---|
42 | RTEMS_NOT_CONFIGURED |
---|
43 | ); |
---|
44 | return RTEMS_NOT_CONFIGURED; |
---|
45 | } |
---|
46 | |
---|
47 | rtems_status_code rtems_partition_ident( |
---|
48 | rtems_name name, |
---|
49 | unsigned32 node, |
---|
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_partition_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_partition_get_buffer( |
---|
74 | Objects_Id id, |
---|
75 | void **buffer |
---|
76 | ) |
---|
77 | { |
---|
78 | _Internal_error_Occurred( |
---|
79 | INTERNAL_ERROR_RTEMS_API, |
---|
80 | FALSE, |
---|
81 | RTEMS_NOT_CONFIGURED |
---|
82 | ); |
---|
83 | return RTEMS_NOT_CONFIGURED; |
---|
84 | } |
---|
85 | |
---|
86 | rtems_status_code rtems_partition_return_buffer( |
---|
87 | Objects_Id id, |
---|
88 | void *buffer |
---|
89 | ) |
---|
90 | { |
---|
91 | _Internal_error_Occurred( |
---|
92 | INTERNAL_ERROR_RTEMS_API, |
---|
93 | FALSE, |
---|
94 | RTEMS_NOT_CONFIGURED |
---|
95 | ); |
---|
96 | return RTEMS_NOT_CONFIGURED; |
---|
97 | } |
---|