diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-29 11:55:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-29 13:21:31 +0200 |
commit | 4182b6f2a3dfba309cedec4bc9716b9e116e840e (patch) | |
tree | f6107c1ca92c8c1f5c5a08f0556fdaf986361cc6 | |
parent | score: The API mutexes are not global (diff) | |
download | rtems-4182b6f2a3dfba309cedec4bc9716b9e116e840e.tar.bz2 |
score: Fix MPCI workspace size estimate
Global objects are no real objects with an objects information
structure.
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 4 |
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 |