RTEMS: cpukit/include/rtems/rtems/regiondata.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
26extern "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;
47} Region_Control;
48
52extern Objects_Information _Region_Information;
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 */
rtems_attribute
uint32_t rtems_attribute
Definition: attr.h:41
_Region_Information
Objects_Information _Region_Information
The Classic Region objects information.
heap.h
Heap Handler API.
objectdata.h
Object Handler Data Structures.
region.h
Classic Region Manager API.
Heap_Control
Control block used to manage a heap.
Definition: heap.h:318
Objects_Control
Definition: objectdata.h:39
Objects_Information
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
Region_Control
Definition: regiondata.h:40
Thread_queue_Control
Definition: threadq.h:553
Thread_queue_Operations
Thread queue operations.
Definition: threadq.h:518
threadq.h
Constants and Structures Needed to Declare a Thread Queue.