RTEMS  5.1
region.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_REGION_H
18 #define _RTEMS_RTEMS_REGION_H
19 
20 #include <rtems/rtems/attr.h>
21 #include <rtems/rtems/options.h>
22 #include <rtems/rtems/status.h>
23 #include <rtems/rtems/types.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
53  rtems_name name,
54  void *starting_address,
55  uintptr_t length,
56  uintptr_t page_size,
57  rtems_attribute attribute_set,
58  rtems_id *id
59 );
60 
78  rtems_id id,
79  void *starting_address,
80  uintptr_t length
81 );
82 
100  rtems_name name,
101  rtems_id *id
102 );
103 
118  rtems_id id,
119  Heap_Information_block *the_info
120 );
121 
139  rtems_id id,
140  Heap_Information_block *the_info
141 );
142 
157  rtems_id id
158 );
159 
183  rtems_id id,
184  uintptr_t size,
185  rtems_option option_set,
186  rtems_interval timeout,
187  void **segment
188 );
189 
206  rtems_id id,
207  void *segment,
208  uintptr_t *size
209 );
210 
228  rtems_id id,
229  void *segment
230 );
231 
256  rtems_id id,
257  void *segment,
258  uintptr_t size,
259  uintptr_t *old_size
260 );
261 
264 #ifdef __cplusplus
265 }
266 #endif
267 
268 #endif
269 /* end of include file */
rtems_status_code rtems_region_delete(rtems_id id)
RTEMS Delete Region.
Definition: regiondelete.c:23
uint32_t rtems_attribute
Definition: attr.h:41
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_status_code rtems_region_get_segment(rtems_id id, uintptr_t size, rtems_option option_set, rtems_interval timeout, void **segment)
RTEMS Get Region Segment.
Definition: regiongetsegment.c:47
rtems_status_code rtems_region_ident(rtems_name name, rtems_id *id)
RTEMS Region Name to Id.
Definition: regionident.c:28
rtems_status_code rtems_region_get_segment_size(rtems_id id, void *segment, uintptr_t *size)
RTEMS Get Region Segment Size.
Definition: regiongetsegmentsize.c:23
Information block returned by _Heap_Get_information().
Definition: heapinfo.h:145
rtems_status_code rtems_region_get_information(rtems_id id, Heap_Information_block *the_info)
RTEMS Get Region Information.
Definition: regiongetinfo.c:23
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t rtems_option
Definition: options.h:42
rtems_status_code rtems_region_create(rtems_name name, void *starting_address, uintptr_t length, uintptr_t page_size, rtems_attribute attribute_set, rtems_id *id)
rtems_region_create
Definition: regioncreate.c:29
rtems_status_code rtems_region_resize_segment(rtems_id id, void *segment, uintptr_t size, uintptr_t *old_size)
Resize RTEMS Region Segment.
Definition: regionresizesegment.c:23
rtems_status_code rtems_region_get_free_information(rtems_id id, Heap_Information_block *the_info)
RTEMS Get Region Free Information.
Definition: regiongetfreeinfo.c:25
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
unsigned size
Definition: tte.h:74
rtems_status_code rtems_region_return_segment(rtems_id id, void *segment)
RTEMS Return Region Segment.
Definition: regionreturnsegment.c:23
rtems_status_code rtems_region_extend(rtems_id id, void *starting_address, uintptr_t length)
RTEMS Extend Region.
Definition: regionextend.c:23