summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/part.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-06 18:03:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-06 18:03:45 +0000
commit8c8fd64a704ccd5958a6a426771ea533c4eb8744 (patch)
tree0ef8fdc436a28740125d38b12a9fe39213dc5486 /cpukit/rtems/include/rtems/rtems/part.h
parent2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-8c8fd64a704ccd5958a6a426771ea533c4eb8744.tar.bz2
2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/eventset.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve Classic API Doxygen.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/part.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/part.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/part.h b/cpukit/rtems/include/rtems/rtems/part.h
index 3e1843978a..32b23ded6b 100644
--- a/cpukit/rtems/include/rtems/rtems/part.h
+++ b/cpukit/rtems/include/rtems/rtems/part.h
@@ -52,7 +52,8 @@ extern "C" {
/**
* @defgroup ClassicPart Classic API Partition
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the
+ * Classic API Partition Manager.
*/
/**@{*/
@@ -60,13 +61,20 @@ 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;
- void *starting_address; /* physical address */
- uint32_t length; /* in bytes */
- uint32_t buffer_size; /* in bytes */
- rtems_attribute attribute_set; /* attributes */
- uint32_t number_of_used_blocks; /* or allocated buffers */
- Chain_Control Memory; /* buffer chain */
+ /** This field is the physical starting address of the Partition. */
+ void *starting_address;
+ /** This field is the size of the Partition in bytes. */
+ uint32_t length;
+ /** This field is the size of each buffer in bytes */
+ uint32_t buffer_size;
+ /** This field is the attribute set provided at create time. */
+ rtems_attribute attribute_set;
+ /** This field is the of allocated buffers. */
+ uint32_t number_of_used_blocks;
+ /** This field is the chain used to manage unallocated buffers. */
+ Chain_Control Memory;
} Partition_Control;
/**