source: rtems/testsuites/samples/pppd/system.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#ifndef SYSTEM_H
2#define SYSTEM_H
3
4#include <rtems.h>
5#include <rtems/console.h>
6#include <rtems/clockdrv.h>
7
8/* functions */
9extern rtems_task Init(rtems_task_argument argument);
10extern int pppdapp_initialize(void);
11
12#include <bsp.h>
13
14#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
15#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
16
17#ifndef TTY1_DRIVER_TABLE_ENTRY
18  #define TTY1_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY
19#endif
20#ifndef TTY2_DRIVER_TABLE_ENTRY
21  #define TTY2_DRIVER_TABLE_ENTRY NULL_DRIVER_TABLE_ENTRY
22#endif
23
24#define CONFIGURE_APPLICATION_EXTRA_DRIVERS \
25   { TTY1_DRIVER_TABLE_ENTRY, TTY2_DRIVER_TABLE_ENTRY }
26
27#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
28#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8
29
30#define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024)
31#define CONFIGURE_MAXIMUM_SEMAPHORES 20
32#define CONFIGURE_MAXIMUM_TASKS      20
33
34#define CONFIGURE_MICROSECONDS_PER_TICK 10000
35
36#define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024)
37#define CONFIGURE_INIT_TASK_PRIORITY   120
38#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
39                                           RTEMS_NO_TIMESLICE | \
40                                           RTEMS_NO_ASR | \
41                                           RTEMS_INTERRUPT_LEVEL(0))
42
43#include <rtems/confdefs.h>
44
45#endif
Note: See TracBrowser for help on using the repository browser.