[ac7d5ef0] | 1 | /* |
---|
| 2 | * Partition Manager |
---|
| 3 | * |
---|
| 4 | * |
---|
[03f2154e] | 5 | * COPYRIGHT (c) 1989-1997. |
---|
[ac7d5ef0] | 6 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 7 | * Copyright assigned to U.S. Government, 1994. |
---|
[ac7d5ef0] | 8 | * |
---|
[03f2154e] | 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. |
---|
[ac7d5ef0] | 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include <rtems/system.h> |
---|
[3a4ae6c] | 17 | #include <rtems/rtems/status.h> |
---|
[5e9b32b] | 18 | #include <rtems/score/address.h> |
---|
| 19 | #include <rtems/score/object.h> |
---|
[3a4ae6c] | 20 | #include <rtems/rtems/part.h> |
---|
[5e9b32b] | 21 | #include <rtems/score/thread.h> |
---|
[3b76313] | 22 | #include <rtems/score/interr.h> |
---|
[ac7d5ef0] | 23 | |
---|
| 24 | void _Partition_Manager_initialization( |
---|
| 25 | unsigned32 maximum_partitions |
---|
| 26 | ) |
---|
| 27 | { |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | rtems_status_code rtems_partition_create( |
---|
[3235ad9] | 31 | rtems_name name, |
---|
[ac7d5ef0] | 32 | void *starting_address, |
---|
| 33 | unsigned32 length, |
---|
| 34 | unsigned32 buffer_size, |
---|
| 35 | rtems_attribute attribute_set, |
---|
| 36 | Objects_Id *id |
---|
| 37 | ) |
---|
| 38 | { |
---|
[3b76313] | 39 | _Internal_error_Occurred( |
---|
| 40 | INTERNAL_ERROR_RTEMS_API, |
---|
| 41 | FALSE, |
---|
| 42 | RTEMS_NOT_CONFIGURED |
---|
| 43 | ); |
---|
[3a4ae6c] | 44 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 45 | } |
---|
| 46 | |
---|
| 47 | rtems_status_code rtems_partition_ident( |
---|
[3235ad9] | 48 | rtems_name name, |
---|
[ac7d5ef0] | 49 | unsigned32 node, |
---|
| 50 | Objects_Id *id |
---|
| 51 | ) |
---|
| 52 | { |
---|
[3b76313] | 53 | _Internal_error_Occurred( |
---|
| 54 | INTERNAL_ERROR_RTEMS_API, |
---|
| 55 | FALSE, |
---|
| 56 | RTEMS_NOT_CONFIGURED |
---|
| 57 | ); |
---|
[3a4ae6c] | 58 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 59 | } |
---|
| 60 | |
---|
| 61 | rtems_status_code rtems_partition_delete( |
---|
| 62 | Objects_Id id |
---|
| 63 | ) |
---|
| 64 | { |
---|
[3b76313] | 65 | _Internal_error_Occurred( |
---|
| 66 | INTERNAL_ERROR_RTEMS_API, |
---|
| 67 | FALSE, |
---|
| 68 | RTEMS_NOT_CONFIGURED |
---|
| 69 | ); |
---|
[3a4ae6c] | 70 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 71 | } |
---|
| 72 | |
---|
| 73 | rtems_status_code rtems_partition_get_buffer( |
---|
| 74 | Objects_Id id, |
---|
| 75 | void **buffer |
---|
| 76 | ) |
---|
| 77 | { |
---|
[3b76313] | 78 | _Internal_error_Occurred( |
---|
| 79 | INTERNAL_ERROR_RTEMS_API, |
---|
| 80 | FALSE, |
---|
| 81 | RTEMS_NOT_CONFIGURED |
---|
| 82 | ); |
---|
[3a4ae6c] | 83 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 84 | } |
---|
| 85 | |
---|
| 86 | rtems_status_code rtems_partition_return_buffer( |
---|
| 87 | Objects_Id id, |
---|
| 88 | void *buffer |
---|
| 89 | ) |
---|
| 90 | { |
---|
[3b76313] | 91 | _Internal_error_Occurred( |
---|
| 92 | INTERNAL_ERROR_RTEMS_API, |
---|
| 93 | FALSE, |
---|
| 94 | RTEMS_NOT_CONFIGURED |
---|
| 95 | ); |
---|
[3a4ae6c] | 96 | return RTEMS_NOT_CONFIGURED; |
---|
[ac7d5ef0] | 97 | } |
---|