Allocate some number of threads and other resources for POSIX API.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Thu, 26 Oct 2006 06:04:11 +0000 (08:04 +0200)
committerPavel Pisa <pi@thor.(none)>
Sat, 28 Nov 2009 23:29:47 +0000 (00:29 +0100)
darcs-hash:20061026060411-ff715-e4599ae3d92dd0e6c3590d4599dad4f929094e74.gz

rtems-omk-template/appfoo/system.h

index 5ce9d4a..38498dc 100644 (file)
@@ -34,9 +34,17 @@ rtems_task Init(
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES         32
 #define CONFIGURE_MAXIMUM_SEMAPHORES             32
 #define CONFIGURE_MAXIMUM_TASKS                  32
+#define CONFIGURE_MAXIMUM_PERIODS                4
+#define CONFIGURE_MAXIMUM_USER_EXTENSIONS        2
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
 #define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)
 
+#ifdef RTEMS_POSIX_API
+#define CONFIGURE_MAXIMUM_POSIX_THREADS          32
+#define CONFIGURE_MAXIMUM_POSIX_MUTEXES          20
+#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES       10
+#endif /*RTEMS_POSIX_API*/
+
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE