summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/part.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 10:32:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:40 +0100
commitf00c5c6e347f72d272545ba71b4b22ae45b6d113 (patch)
tree8eb80da38ced3e970d5cd6bb30e4b2be34e7ec1e /cpukit/include/rtems/rtems/part.h
parentrtems: Move internal structures to messagedata.h (diff)
downloadrtems-f00c5c6e347f72d272545ba71b4b22ae45b6d113.tar.bz2
rtems: Move internal structures to partdata.h
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/part.h')
-rw-r--r--cpukit/include/rtems/rtems/part.h43
1 files changed, 3 insertions, 40 deletions
diff --git a/cpukit/include/rtems/rtems/part.h b/cpukit/include/rtems/rtems/part.h
index 769f3c6904..7208f88e6b 100644
--- a/cpukit/include/rtems/rtems/part.h
+++ b/cpukit/include/rtems/rtems/part.h
@@ -1,23 +1,9 @@
/**
- * @file rtems/rtems/part.h
+ * @file
*
- * @defgroup ClassicPart Partitions
+ * @ingroup ClassicPart
*
- * @ingroup ClassicRTEMS
- * @brief Partition Manager
- *
- * This include file contains all the constants and structures associated
- * with the Partition Manager. This manager provides facilities to
- * dynamically allocate memory in fixed-sized units which are returned
- * as buffers.
- *
- * Directives provided are:
- *
- * - create a partition
- * - get an ID of a partition
- * - delete a partition
- * - get a buffer from a partition
- * - return a buffer to a partition
+ * @brief Classic Partition Manager API
*/
/* COPYRIGHT (c) 1989-2008.
@@ -34,7 +20,6 @@
#include <rtems/rtems/attr.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
-#include <rtems/score/isrlock.h>
#ifdef __cplusplus
extern "C" {
@@ -51,28 +36,6 @@ extern "C" {
/**@{*/
/**
- * The following defines the control block used to manage each partition.
- */
-typedef struct {
- /** This field is the object management portion of a Partition instance. */
- Objects_Control Object;
- /** This field is the lock of the Partition. */
- ISR_LOCK_MEMBER( Lock )
- /** This field is the physical starting address of the Partition. */
- void *starting_address;
- /** This field is the size of the Partition in bytes. */
- uintptr_t length;
- /** This field is the size of each buffer in bytes */
- size_t buffer_size;
- /** This field is the attribute set provided at create time. */
- rtems_attribute attribute_set;
- /** This field is the of allocated buffers. */
- uintptr_t number_of_used_blocks;
- /** This field is the chain used to manage unallocated buffers. */
- Chain_Control Memory;
-} Partition_Control;
-
-/**
* @brief RTEMS Partition Create
*
* Partition Manager