From 4182b6f2a3dfba309cedec4bc9716b9e116e840e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 29 Mar 2016 11:55:36 +0200 Subject: [PATCH] score: Fix MPCI workspace size estimate Global objects are no real objects with an objects information structure. --- cpukit/sapi/include/confdefs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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