diff options
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 3856c5b047..8fa3f62e65 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -569,15 +569,15 @@ rtems_extensions_table Configuration_Initial_Extensions[] = { #include <signal.h> #include <limits.h> #include <mqueue.h> -#include <rtems/posix/barrier.h> +/* #include <rtems/posix/barrier.h> */ #include <rtems/posix/cond.h> #include <rtems/posix/mqueue.h> #include <rtems/posix/mutex.h> #include <rtems/posix/key.h> #include <rtems/posix/psignal.h> -#include <rtems/posix/rwlock.h> +/* #include <rtems/posix/rwlock.h> */ #include <rtems/posix/semaphore.h> -#include <rtems/posix/spinlock.h> +/* #include <rtems/posix/spinlock.h> */ #include <rtems/posix/threadsup.h> #include <rtems/posix/timer.h> @@ -705,8 +705,13 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { CONFIGURE_OBJECT_TABLE_STUFF + \ NAME_MAX ) ) -#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_semaphores) \ - ((_semaphores) * \ +#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_barriers) 0 +#define CONFIGURE_MEMORY_FOR_POSIX_SPINLOCKS(_spinlocks) 0 +#define CONFIGURE_MEMORY_FOR_POSIX_RWLOCKS(_rwlocks) 0 + +#if 0 +#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_barriers) \ + ((_barriers) * \ ( sizeof( POSIX_Barrier_Control) + \ CONFIGURE_OBJECT_TABLE_STUFF + \ NAME_MAX ) ) @@ -722,6 +727,7 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { ( sizeof( POSIX_RWLock_Control) + \ CONFIGURE_OBJECT_TABLE_STUFF + \ NAME_MAX ) ) +#endif #define CONFIGURE_MEMORY_FOR_POSIX \ ( \ @@ -1151,9 +1157,11 @@ posix_api_configuration_table Configuration_POSIX_API = { CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS, CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES, CONFIGURE_MAXIMUM_POSIX_SEMAPHORES, +#if 0 CONFIGURE_MAXIMUM_POSIX_BARRIERS, CONFIGURE_MAXIMUM_POSIX_RWLOCKS, CONFIGURE_MAXIMUM_POSIX_SPINLOCKS, +#endif CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE, CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME }; |