source: rtems/c/src/tests/samples/pppd/system.h @ d17d9c81

Last change on this file since d17d9c81 was d17d9c81, checked in by cvs2git <rtems-devel@…>, on 05/27/03 at 16:17:32

This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.

Cherrypick from master 2003-05-27 16:17:31 UTC Ralf Corsepius <ralf.corsepius@…> '2003-05-27 Ralf Corsepius <corsepiu@…>':

c/src/tests/samples/pppd/.cvsignore
c/src/tests/samples/pppd/Makefile-user
c/src/tests/samples/pppd/Makefile.am
c/src/tests/samples/pppd/README
c/src/tests/samples/pppd/init.c
c/src/tests/samples/pppd/netconfig.h
c/src/tests/samples/pppd/ppp.conf
c/src/tests/samples/pppd/pppd.options
c/src/tests/samples/pppd/pppdapp.c
c/src/tests/samples/pppd/system.h
cpukit/include/rtems/stdint.h

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