4.115
Last change
on this file since 5693f2e was
56f1fbe,
checked in by Ralf Corsépius <ralf.corsepius@…>, on 02/22/12 at 08:16:07
|
2012-02-22 Ralf Corsépius <ralf.corsepius@…>
- pppd/system.h: Add pppdapp_initialize.
- pppd/init.c: Remove pppdapp_initialize.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | |
---|
2 | #ifndef SYSTEM_H |
---|
3 | #define SYSTEM_H |
---|
4 | |
---|
5 | #include <rtems.h> |
---|
6 | #include <rtems/console.h> |
---|
7 | #include <rtems/clockdrv.h> |
---|
8 | |
---|
9 | /* functions */ |
---|
10 | extern rtems_task Init(rtems_task_argument argument); |
---|
11 | extern int pppdapp_initialize(void); |
---|
12 | |
---|
13 | #include <bsp.h> |
---|
14 | |
---|
15 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
16 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
17 | |
---|
18 | #ifndef TTY1_DRIVER_TABLE_ENTRY |
---|
19 | #define TTY1_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY |
---|
20 | #endif |
---|
21 | #ifndef TTY2_DRIVER_TABLE_ENTRY |
---|
22 | #define TTY2_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY |
---|
23 | #endif |
---|
24 | |
---|
25 | #define CONFIGURE_APPLICATION_EXTRA_DRIVERS \ |
---|
26 | { TTY1_DRIVER_TABLE_ENTRY, TTY2_DRIVER_TABLE_ENTRY } |
---|
27 | |
---|
28 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
29 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8 |
---|
30 | |
---|
31 | #define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024) |
---|
32 | #define CONFIGURE_MAXIMUM_SEMAPHORES 20 |
---|
33 | #define CONFIGURE_MAXIMUM_TASKS 20 |
---|
34 | |
---|
35 | #define CONFIGURE_MICROSECONDS_PER_TICK 10000 |
---|
36 | |
---|
37 | #define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024) |
---|
38 | #define CONFIGURE_INIT_TASK_PRIORITY 120 |
---|
39 | #define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \ |
---|
40 | RTEMS_NO_TIMESLICE | \ |
---|
41 | RTEMS_NO_ASR | \ |
---|
42 | RTEMS_INTERRUPT_LEVEL(0)) |
---|
43 | |
---|
44 | #include <rtems/confdefs.h> |
---|
45 | |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.