summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-21 17:30:52 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-07 14:22:01 +0100
commit9c9c6a93b1a17ad12f61b41e1d5f4616871cdba7 (patch)
treef17c5de012a4827131416d31dcb8a3e623be9873 /cpukit/rtems
parentscore: Remove dead code (diff)
downloadrtems-9c9c6a93b1a17ad12f61b41e1d5f4616871cdba7.tar.bz2
score: Remove Objects_Information::is_string
Use Objects_Information::name_length to store this information. Update #3621.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/barrier.c3
-rw-r--r--cpukit/rtems/src/dpmem.c3
-rw-r--r--cpukit/rtems/src/msg.c3
-rw-r--r--cpukit/rtems/src/part.c3
-rw-r--r--cpukit/rtems/src/ratemon.c3
-rw-r--r--cpukit/rtems/src/region.c3
-rw-r--r--cpukit/rtems/src/rtemstimer.c3
-rw-r--r--cpukit/rtems/src/sem.c3
8 files changed, 8 insertions, 16 deletions
diff --git a/cpukit/rtems/src/barrier.c b/cpukit/rtems/src/barrier.c
index a2912389e9..59b0a5d142 100644
--- a/cpukit/rtems/src/barrier.c
+++ b/cpukit/rtems/src/barrier.c
@@ -39,8 +39,7 @@ static void _Barrier_Manager_initialization(void)
Configuration_RTEMS_API.maximum_barriers,
/* maximum objects of this class */
sizeof( Barrier_Control ), /* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/rtems/src/dpmem.c b/cpukit/rtems/src/dpmem.c
index 2522a59951..ccecdfd6cc 100644
--- a/cpukit/rtems/src/dpmem.c
+++ b/cpukit/rtems/src/dpmem.c
@@ -37,8 +37,7 @@ static void _Dual_ported_memory_Manager_initialization(void)
/* maximum objects of this class */
sizeof( Dual_ported_memory_Control ),
/* size of this object's control block */
- false, /* true if names of this object are strings */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of each object's name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c
index 44a0727ea4..8060735beb 100644
--- a/cpukit/rtems/src/msg.c
+++ b/cpukit/rtems/src/msg.c
@@ -39,8 +39,7 @@ static void _Message_queue_Manager_initialization(void)
/* maximum objects of this class */
sizeof( Message_queue_Control ),
/* size of this object's control block */
- false, /* true if names of this object are strings */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of each object's name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
_Message_queue_MP_Send_extract_proxy
/* Proxy extraction support callout */
);
diff --git a/cpukit/rtems/src/part.c b/cpukit/rtems/src/part.c
index 4df676ed7a..d395f34342 100644
--- a/cpukit/rtems/src/part.c
+++ b/cpukit/rtems/src/part.c
@@ -36,8 +36,7 @@ static void _Partition_Manager_initialization(void)
Configuration_RTEMS_API.maximum_partitions,
/* maximum objects of this class */
sizeof( Partition_Control ), /* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
_Partition_MP_Send_extract_proxy /* Proxy extraction support callout */
);
diff --git a/cpukit/rtems/src/ratemon.c b/cpukit/rtems/src/ratemon.c
index dd3ca29cdd..a8681dda44 100644
--- a/cpukit/rtems/src/ratemon.c
+++ b/cpukit/rtems/src/ratemon.c
@@ -36,8 +36,7 @@ static void _Rate_monotonic_Manager_initialization(void)
Configuration_RTEMS_API.maximum_periods,
/* maximum objects of this class */
sizeof( Rate_monotonic_Control ),/* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c
index 892c680f15..4fbce63160 100644
--- a/cpukit/rtems/src/region.c
+++ b/cpukit/rtems/src/region.c
@@ -47,8 +47,7 @@ static void _Region_Manager_initialization(void)
Configuration_RTEMS_API.maximum_regions,
/* maximum objects of this class */
sizeof( Region_Control ), /* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/rtems/src/rtemstimer.c b/cpukit/rtems/src/rtemstimer.c
index d60e4a9b48..f0a8c672fa 100644
--- a/cpukit/rtems/src/rtemstimer.c
+++ b/cpukit/rtems/src/rtemstimer.c
@@ -38,8 +38,7 @@ static void _Timer_Manager_initialization(void)
Configuration_RTEMS_API.maximum_timers ,
/* maximum objects of this class */
sizeof( Timer_Control ), /* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
);
}
diff --git a/cpukit/rtems/src/sem.c b/cpukit/rtems/src/sem.c
index 74ce661725..e91e2d14bf 100644
--- a/cpukit/rtems/src/sem.c
+++ b/cpukit/rtems/src/sem.c
@@ -33,8 +33,7 @@ static void _Semaphore_Manager_initialization(void)
Configuration_RTEMS_API.maximum_semaphores,
/* maximum objects of this class */
sizeof( Semaphore_Control ), /* size of this object's control block */
- false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
+ OBJECTS_NO_STRING_NAME, /* maximum length of an object name */
_Semaphore_MP_Send_extract_proxy /* Proxy extraction support callout */
);