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