summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/region.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 10:37:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:40 +0100
commite8e914b3b13d60c47bd8ebf29d421cbcf8ff698a (patch)
treed4c1c1e7ff41c0a108b0768a0cb61017c1bdec73 /cpukit/include/rtems/rtems/region.h
parentrtems: Move internal structures to partdata.h (diff)
downloadrtems-e8e914b3b13d60c47bd8ebf29d421cbcf8ff698a.tar.bz2
rtems: Move internal structures to regiondata.h
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/region.h')
-rw-r--r--cpukit/include/rtems/rtems/region.h35
1 files changed, 3 insertions, 32 deletions
diff --git a/cpukit/include/rtems/rtems/region.h b/cpukit/include/rtems/rtems/region.h
index 4772e2835b..baa8a72806 100644
--- a/cpukit/include/rtems/rtems/region.h
+++ b/cpukit/include/rtems/rtems/region.h
@@ -1,22 +1,9 @@
/**
- * @file rtems/rtems/region.h
+ * @file
*
- * @defgroup ClassicRegion Regions
+ * @ingroup ClassicRegion
*
- * @ingroup ClassicRTEMS
- * @brief Region Manager
- *
- * This include file contains all the constants and structures associated
- * with the Region Manager. This manager provides facilities to dynamically
- * allocate memory in variable sized units which are returned as segments.
- *
- * Directives provided are:
- *
- * - create a region
- * - get an ID of a region
- * - delete a region
- * - get a segment from a region
- * - return a segment to a region
+ * @brief Classic Region Manager API
*/
/* COPYRIGHT (c) 1989-2013.
@@ -34,8 +21,6 @@
#include <rtems/rtems/options.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
-#include <rtems/score/heap.h>
-#include <rtems/score/threadq.h>
#ifdef __cplusplus
extern "C" {
@@ -52,20 +37,6 @@ extern "C" {
/**@{*/
/**
- * The following records define the control block used to manage
- * each region.
- */
-
-typedef struct {
- Objects_Control Object;
- Thread_queue_Control Wait_queue; /* waiting threads */
- const Thread_queue_Operations *wait_operations;
- uintptr_t maximum_segment_size; /* in bytes */
- rtems_attribute attribute_set;
- Heap_Control Memory;
-} Region_Control;
-
-/**
* @brief rtems_region_create
*
* Region Manager