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

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
partdata.h
Go to the documentation of this file.
1
9/* COPYRIGHT (c) 1989-2008.
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_PARTDATA_H
18#define _RTEMS_RTEMS_PARTDATA_H
19
20#include <rtems/rtems/part.h>
21#include <rtems/score/isrlock.h>
22#include <rtems/score/objectdata.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
37 typedef struct {
39 Objects_Control Object;
41 ISR_LOCK_MEMBER( Lock )
43 void *starting_address;
45 uintptr_t length;
47 size_t buffer_size;
49 rtems_attribute attribute_set;
51 uintptr_t number_of_used_blocks;
53 Chain_Control Memory;
54} Partition_Control;
55
59extern Objects_Information _Partition_Information;
60
61#if defined(RTEMS_MULTIPROCESSING)
69void _Partition_MP_Send_extract_proxy (
70 Thread_Control *the_thread,
71 Objects_Id id
72);
73#endif
74
84#define PARTITION_INFORMATION_DEFINE( max ) \
85 OBJECTS_INFORMATION_DEFINE( \
86 _Partition, \
87 OBJECTS_CLASSIC_API, \
88 OBJECTS_RTEMS_PARTITIONS, \
89 Partition_Control, \
90 max, \
91 OBJECTS_NO_STRING_NAME, \
92 _Partition_MP_Send_extract_proxy \
93 )
94
97#ifdef __cplusplus
98}
99#endif
100
101#endif
102/* end of include file */
rtems_attribute
uint32_t rtems_attribute
Definition: attr.h:41
_Partition_Information
Objects_Information _Partition_Information
The Classic Partition objects information.
ISR_LOCK_MEMBER
#define ISR_LOCK_MEMBER(_designator)
Defines an ISR lock member.
Definition: isrlock.h:89
Objects_Id
uint32_t Objects_Id
Definition: object.h:80
isrlock.h
ISR Locks.
objectdata.h
Object Handler Data Structures.
part.h
Classic Partition Manager API.
Objects_Control
Definition: objectdata.h:39
Objects_Information
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
Partition_Control
Definition: partdata.h:37
Partition_Control::Object
Objects_Control Object
Definition: partdata.h:39
_Thread_Control
Definition: thread.h:732
Chain_Control
Definition: chain.h:86