[rtems commit] sapi: Fix CONFIGURE_UNLIMITED_OBJECTS
Sebastian Huber
sebh at rtems.org
Thu Apr 17 06:04:19 UTC 2014
Module: rtems
Branch: master
Commit: 0e98970264639f4c05a2d2aa74807046b3bfbe12
Changeset: http://git.rtems.org/rtems/commit/?id=0e98970264639f4c05a2d2aa74807046b3bfbe12
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Apr 17 08:02:46 2014 +0200
sapi: Fix CONFIGURE_UNLIMITED_OBJECTS
POSIX keys and key value pairs support now the unlimited option.
---
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 9c466e5..69c74f7 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)
More information about the vc
mailing list