RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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>
23#include <rtems/score/threadq.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
40typedef 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 */
uint32_t rtems_attribute
Definition: attr.h:41
Objects_Information _Region_Information
The Classic Region objects information.
Heap Handler API.
Object Handler Data Structures.
Classic Region Manager API.
Control block used to manage a heap.
Definition: heap.h:318
Definition: objectdata.h:39
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
Definition: regiondata.h:40
Definition: threadq.h:553
Thread queue operations.
Definition: threadq.h:518
Constants and Structures Needed to Declare a Thread Queue.