[rtems commit] confdefs: Fix POSIX keys configuration
Sebastian Huber
sebh at rtems.org
Tue Aug 22 06:02:34 UTC 2017
Module: rtems
Branch: master
Commit: e0660391fa01b71d12f5886e58b5c941543be427
Changeset: http://git.rtems.org/rtems/commit/?id=e0660391fa01b71d12f5886e58b5c941543be427
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Aug 22 08:00:48 2017 +0200
confdefs: Fix POSIX keys configuration
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size
configuration.
Update #3105.
---
cpukit/sapi/include/confdefs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 50e04b2..5fe3660 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2436,7 +2436,8 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#define _CONFIGURE_MEMORY_FOR_POSIX_KEYS(_keys, _key_value_pairs) \
(_Configure_Object_RAM(_keys, sizeof(POSIX_Keys_Control) ) \
+ _Configure_From_workspace( \
- _key_value_pairs * sizeof(POSIX_Keys_Key_value_pair)))
+ _Configure_Max_Objects(_key_value_pairs) \
+ * sizeof(POSIX_Keys_Key_value_pair)))
/*
* The rest of the POSIX threads API features are only available when
More information about the vc
mailing list