1 | /* |
---|
2 | * Copyright 2010, Alin Rus <alin.codejunkie@gmail.com> |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | /* functions */ |
---|
10 | |
---|
11 | #include <pmacros.h> |
---|
12 | #include <pthread.h> |
---|
13 | #include <errno.h> |
---|
14 | #include <sched.h> |
---|
15 | |
---|
16 | void *POSIX_Init (void *argument); |
---|
17 | |
---|
18 | /* configuration information */ |
---|
19 | |
---|
20 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
21 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
22 | #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM |
---|
23 | |
---|
24 | #define CONFIGURE_MAXIMUM_TASKS 20 |
---|
25 | #define CONFIGURE_MAXIMUM_SEMAPHORES 20 |
---|
26 | #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 |
---|
27 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 |
---|
28 | |
---|
29 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
30 | |
---|
31 | #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 |
---|
32 | #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10 |
---|
33 | #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10 |
---|
34 | #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 |
---|
35 | |
---|
36 | #define CONFIGURE_POSIX_INIT_THREAD_TABLE |
---|
37 | #define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE) |
---|
38 | #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (10 * RTEMS_MINIMUM_STACK_SIZE) |
---|
39 | |
---|
40 | |
---|
41 | #define CONFIGURE_MALLOC_STATISTICS |
---|
42 | |
---|
43 | |
---|
44 | #include <rtems/confdefs.h> |
---|
45 | |
---|
46 | /* global variables */ |
---|
47 | TEST_EXTERN pthread_t Init_id; |
---|
48 | |
---|
49 | /* end of include file */ |
---|