RTEMS  5.0.0
regiondata.h
Go to the documentation of this file.
1 
9 /* COPYRIGHT (c) 1989-2013.
10  * On-Line Applications Research Corporation (OAR).
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE.
15  */
16 
17 #ifndef _RTEMS_RTEMS_REGIONDATA_H
18 #define _RTEMS_RTEMS_REGIONDATA_H
19 
20 #include <rtems/rtems/region.h>
21 #include <rtems/score/heap.h>
22 #include <rtems/score/objectdata.h>
23 #include <rtems/score/threadq.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
40 typedef struct {
41  Objects_Control Object;
42  Thread_queue_Control Wait_queue; /* waiting threads */
43  const Thread_queue_Operations *wait_operations;
44  uintptr_t maximum_segment_size; /* in bytes */
45  rtems_attribute attribute_set;
46  Heap_Control Memory;
48 
53 
63 #define REGION_INFORMATION_DEFINE( max ) \
64  OBJECTS_INFORMATION_DEFINE( \
65  _Region, \
66  OBJECTS_CLASSIC_API, \
67  OBJECTS_RTEMS_REGIONS, \
68  Region_Control, \
69  max, \
70  OBJECTS_NO_STRING_NAME, \
71  NULL \
72  )
73 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif
81 /* end of include file */
Objects_Information _Region_Information
The Classic Region objects information.
uint32_t rtems_attribute
Definition: attr.h:41
Definition: objectdata.h:39
Definition: threadq.h:547
Constants and Structures Needed to Declare a Thread Queue.
Definition: regiondata.h:40
Thread queue operations.
Definition: threadq.h:512
Object Handler Data Structures.
Heap Handler API.
Control block used to manage a heap.
Definition: heap.h:255
The information structure used to manage each API class of objects.
Definition: objectdata.h:160
Classic Region Manager API.