summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-29 11:55:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-29 13:21:31 +0200
commit4182b6f2a3dfba309cedec4bc9716b9e116e840e (patch)
treef6107c1ca92c8c1f5c5a08f0556fdaf986361cc6 /cpukit/sapi
parentscore: The API mutexes are not global (diff)
downloadrtems-4182b6f2a3dfba309cedec4bc9716b9e116e840e.tar.bz2
score: Fix MPCI workspace size estimate
Global objects are no real objects with an objects information structure.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 407fb1ecb5..e0b2a8058f 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1893,7 +1893,9 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#define CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS 32
#endif
#define CONFIGURE_MEMORY_FOR_GLOBAL_OBJECTS(_global_objects) \
- _Configure_Object_RAM((_global_objects), sizeof(Objects_MP_Control))
+ _Configure_From_workspace( \
+ (_global_objects) * sizeof(Objects_MP_Control) \
+ )
#ifndef CONFIGURE_MP_MAXIMUM_PROXIES
#define CONFIGURE_MP_MAXIMUM_PROXIES 32