]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/services/gfx/mw/v2_0/src/rtems/rtemscfg.h
Initial revision
[karo-tx-redboot.git] / packages / services / gfx / mw / v2_0 / src / rtems / rtemscfg.h
1 /***************************************************************************
2  *
3  * $Header$
4  *
5  * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
6  *  
7  * MODULE DESCRIPTION: RTEMS configuration file. This file should be
8  *                     udpated to match your own configuration.
9  *
10  * by: Rosimildo da Silva:
11  *     rdasilva@connecttel.com
12  *     http://www.connecttel.com
13  *
14  * MODIFICATION/HISTORY:
15  *
16  * $Log$
17  * Revision 1.1  2008-11-03 11:53:23  lothar
18  * Initial revision
19  *
20  * Revision 1.1.1.1  2001/06/21 06:32:42  greg
21  * Microwindows pre8 with patches
22  *
23  * Revision 1.1.1.1  2001/06/05 03:44:03  root
24  * First import of 5/5/2001 Microwindows to CVS
25  *
26  ****************************************************************************/
27
28
29 #include <bsp.h>              /* includes <rtems.h> */
30 #include <tty_drv.h>
31 #include <rtems/ps2_drv.h>
32 #include <rtems/fb_vga.h>
33 #include <rtems/serial_mouse.h>
34
35 /* functions */
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /* configuration information */
41 #define CONFIGURE_MAXIMUM_DEVICES                     40
42 #define CONFIGURE_MAXIMUM_TASKS                       300
43 #define CONFIGURE_MAXIMUM_TIMERS                      32
44 #define CONFIGURE_MAXIMUM_SEMAPHORES                  100
45 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES              20
46 #define CONFIGURE_MAXIMUM_PARTITIONS                  10
47 #define CONFIGURE_MAXIMUM_REGIONS                     10
48
49 /* This seetings overwrite the ones defined in confdefs.h */
50 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES                          32
51 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES     32
52 #define CONFIGURE_MAXIMUM_POSIX_KEYS                       32
53 #define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS             10
54 #define CONFIGURE_MAXIMUM_POSIX_THREADS                    256
55 #define CONFIGURE_MAXIMUM_POSIX_TIMERS                10
56
57 /* used by the input device driver */
58 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES        10
59
60 void *POSIX_Init( void *argument );
61 #define CONFIGURE_INIT_TASK_STACK_SIZE                 (512*1024)
62 #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE        (512*1024)
63 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
64
65
66 #define CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
67 #define CONFIGURE_MICROSECONDS_PER_TICK         1000
68
69
70 /* List of device drivers loaded by RTEMS at boot time */
71 rtems_driver_address_table Device_drivers[] = 
72 {
73   CONSOLE_DRIVER_TABLE_ENTRY,
74   CLOCK_DRIVER_TABLE_ENTRY,
75
76 /* this can be a bit tricky: If you are using a serial mouse,
77    make sure that you do not install and serial driver that
78    uses the same port !!!!
79 */
80   TTY2_DRIVER_TABLE_ENTRY,
81
82 #if PS2_MOUSE
83   PAUX_DRIVER_TABLE_ENTRY,
84 #else
85
86   /*
87    * Make sure that you have selected the COM port and the
88    * mouse type in ( c/src/lib/libbsp/i386/pc386/console/serial_mouse.h ).
89    */
90   SERIAL_MOUSE_DRIVER_TABLE_ENTRY,
91 #endif
92
93   /* Standard VGA driver */
94   FBVGA_DRIVER_TABLE_ENTRY,
95
96   { NULL,NULL, NULL,NULL,NULL, NULL }
97 };
98
99 #include <confdefs.h>
100
101 #ifdef __cplusplus
102 }
103 #endif
104 /* end of include file */