4.104.114.84.95
Last change
on this file since c8fea7a was
c8fea7a,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/01/04 at 15:16:23
|
- base_mp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- base_sp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- cdtest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- fileio/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- hello/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- loopback/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
- minimum/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
- paranoia/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- pppd/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- ticker/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
- unlimited/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | |
---|
2 | #ifndef SYSTEM_H |
---|
3 | #define SYSTEM_H |
---|
4 | |
---|
5 | #include <rtems.h> |
---|
6 | |
---|
7 | /* HACK */ |
---|
8 | #if defined(__i386__) |
---|
9 | #include <tty_drv.h> |
---|
10 | #endif |
---|
11 | |
---|
12 | /* functions */ |
---|
13 | extern rtems_task Init(rtems_task_argument argument); |
---|
14 | |
---|
15 | #include <bsp.h> |
---|
16 | |
---|
17 | #define CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE |
---|
18 | #ifdef CONFIGURE_INIT |
---|
19 | rtems_driver_address_table Device_drivers[5] = { |
---|
20 | CONSOLE_DRIVER_TABLE_ENTRY, |
---|
21 | CLOCK_DRIVER_TABLE_ENTRY, |
---|
22 | #if defined(TTY1_DRIVER_TABLE_ENTRY) |
---|
23 | TTY1_DRIVER_TABLE_ENTRY, |
---|
24 | #endif |
---|
25 | #if defined(TTY2_DRIVER_TABLE_ENTRY) |
---|
26 | TTY2_DRIVER_TABLE_ENTRY, |
---|
27 | #endif |
---|
28 | {NULL, NULL, NULL, NULL, NULL, NULL} |
---|
29 | }; |
---|
30 | #endif |
---|
31 | |
---|
32 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
33 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8 |
---|
34 | |
---|
35 | #define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024) |
---|
36 | #define CONFIGURE_MAXIMUM_SEMAPHORES 20 |
---|
37 | #define CONFIGURE_MAXIMUM_TASKS 20 |
---|
38 | |
---|
39 | #define CONFIGURE_MICROSECONDS_PER_TICK 10000 |
---|
40 | |
---|
41 | #define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024) |
---|
42 | #define CONFIGURE_INIT_TASK_PRIORITY 120 |
---|
43 | #define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \ |
---|
44 | RTEMS_NO_TIMESLICE | \ |
---|
45 | RTEMS_NO_ASR | \ |
---|
46 | RTEMS_INTERRUPT_LEVEL(0)) |
---|
47 | |
---|
48 | #include <rtems/confdefs.h> |
---|
49 | |
---|
50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.