summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 23:14:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 23:14:23 +0000
commitdad723f4311d370a227b0ad7504d25c499f49b30 (patch)
tree4f216a1965fd5e31660424933ab86167096e88d6 /cpukit
parent2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-dad723f4311d370a227b0ad7504d25c499f49b30.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add debug information for per task allocations. * score/src/objectextendinformation.c: Do not allocate memory for name tables because we do not use name tables any longer.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/sapi/include/confdefs.h4
-rw-r--r--cpukit/score/src/objectextendinformation.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 477dc2398c..ea89e8e94f 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,12 @@
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * sapi/include/confdefs.h: Add debug information for
+ per task allocations.
+ * score/src/objectextendinformation.c: Do not allocate memory for name
+ tables because we do not use name tables any longer.
+
+2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
here and in _Thread_Stack_Allocate.
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index c345b098c6..acc03b7434 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1564,6 +1564,8 @@ extern rtems_configuration_table Configuration;
uint32_t STATIC_EXTENSIONS;
uint32_t INITIALIZATION_THREADS_STACKS;
+ uint32_t PER_INTEGER_TASK;
+ uint32_t FP_OVERHEAD;
uint32_t CLASSIC;
uint32_t POSIX;
uint32_t ITRON;
@@ -1615,6 +1617,8 @@ extern rtems_configuration_table Configuration;
CONFIGURE_MEMORY_FOR_SYSTEM_OVERHEAD,
CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS,
CONFIGURE_INITIALIZATION_THREADS_STACKS,
+ CONFIGURE_MEMORY_FOR_TASKS(1, 0),
+ CONFIGURE_MEMORY_FOR_TASKS(0, 1),
CONFIGURE_MEMORY_FOR_CLASSIC,
CONFIGURE_MEMORY_FOR_POSIX,
CONFIGURE_MEMORY_FOR_ITRON,
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c
index 8e9e636757..4e525110a9 100644
--- a/cpukit/score/src/objectextendinformation.c
+++ b/cpukit/score/src/objectextendinformation.c
@@ -224,7 +224,6 @@ void _Objects_Extend_information(
if ( information->auto_extend ) {
information->object_blocks[ block ] =
_Workspace_Allocate(
- (information->allocation_size * information->name_length) +
(information->allocation_size * information->size)
);
@@ -234,7 +233,6 @@ void _Objects_Extend_information(
else {
information->object_blocks[ block ] =
_Workspace_Allocate_or_fatal_error(
- (information->allocation_size * information->name_length) +
(information->allocation_size * information->size)
);
}