Network enabled template application.
[rtems-devel.git] / rtems-omk-template / appnet / system.h
1 /*  system.h
2  *
3  *  This include file contains information that is included in every
4  *  function in the test set.
5  *
6  *  COPYRIGHT (c) 1989-1999.
7  *  On-Line Applications Research Corporation (OAR).
8  *
9  *  The license and distribution terms for this file may be
10  *  found in the file LICENSE in this distribution or at
11  *  http://www.rtems.com/license/LICENSE.
12  *
13  *  $Id: system.h,v 1.13.6.1 2003/09/04 18:46:30 joel Exp $
14  */
15
16 #include <rtems.h>
17
18 /* functions */
19
20 rtems_task Init(
21   rtems_task_argument argument
22 );
23
24 /* configuration information */
25
26 #include <bsp.h> /* for device driver prototypes */
27
28 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
29 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
30 #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
31
32 #define TICKS_PER_SECOND 1000
33
34 #define CONFIGURE_MAXIMUM_TIMERS                 32
35 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES         32
36 #define CONFIGURE_MAXIMUM_SEMAPHORES             32
37 #define CONFIGURE_MAXIMUM_TASKS                  32
38 #define CONFIGURE_MAXIMUM_PERIODS                4
39 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS        2
40 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
41 #define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)
42
43 #ifdef RTEMS_POSIX_API
44 #define CONFIGURE_MAXIMUM_POSIX_THREADS          32
45 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES          20
46 #define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES       10
47 #endif /*RTEMS_POSIX_API*/
48
49 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
50
51 #define CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER
52 #define CONFIGURE_APPLICATION_NEEDS_ZERO_DRIVER
53
54 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
55 /*#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM*/
56 #define CONFIGURE_FILESYSTEM_TFTPFS
57 #define CONFIGURE_FILESYSTEM_FTPFS
58 /*#define CONFIGURE_FILESYSTEM_NFS*/
59 #define CONFIGURE_FILESYSTEM_DOSFS
60
61 #define CONFIGURE_MICROSECONDS_PER_TICK 1000
62
63 #define CONFIGURE_INIT_TASK_STACK_SIZE  (10*1024)
64 #define CONFIGURE_INIT_TASK_PRIORITY    120
65 #define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
66                                            RTEMS_NO_TIMESLICE | \
67                                            RTEMS_NO_ASR | \
68                                            RTEMS_INTERRUPT_LEVEL(0))
69
70 #include <rtems/confdefs.h>
71
72 /* end of include file */