diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-17 08:02:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-17 08:06:37 +0200 |
commit | 0e98970264639f4c05a2d2aa74807046b3bfbe12 (patch) | |
tree | 98467a66b1e82bffa60423936bd8b648671229fc | |
parent | sapi: Error case for CONFIGURE_UNLIMITED_OBJECTS (diff) | |
download | rtems-0e98970264639f4c05a2d2aa74807046b3bfbe12.tar.bz2 |
sapi: Fix CONFIGURE_UNLIMITED_OBJECTS
POSIX keys and key value pairs support now the unlimited option.
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 9c466e59d4..69c74f7bad 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1632,6 +1632,14 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_BARRIERS \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) #endif + #if !defined(CONFIGURE_MAXIMUM_POSIX_KEYS) + #define CONFIGURE_MAXIMUM_POSIX_KEYS \ + rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) + #endif + #if !defined(CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS) + #define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS \ + rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) + #endif #ifdef RTEMS_POSIX_API #if !defined(CONFIGURE_MAXIMUM_POSIX_THREADS) @@ -1646,12 +1654,6 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) #endif -/* - #if !defined(CONFIGURE_MAXIMUM_POSIX_KEYS) - #define CONFIGURE_MAXIMUM_POSIX_KEYS \ - rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) - #endif -*/ #if !defined(CONFIGURE_MAXIMUM_POSIX_TIMERS) #define CONFIGURE_MAXIMUM_POSIX_TIMERS \ rtems_resource_unlimited(CONFIGURE_UNLIMITED_ALLOCATION_SIZE) |