Files
rtems/testsuites/samples/pppd/system.h
Ralf Corsepius c8fea7a402 * 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>.
2004-04-01 15:16:23 +00:00

51 lines
1.2 KiB
C

#ifndef SYSTEM_H
#define SYSTEM_H
#include <rtems.h>
/* HACK */
#if defined(__i386__)
#include <tty_drv.h>
#endif
/* functions */
extern rtems_task Init(rtems_task_argument argument);
#include <bsp.h>
#define CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
#ifdef CONFIGURE_INIT
rtems_driver_address_table Device_drivers[5] = {
CONSOLE_DRIVER_TABLE_ENTRY,
CLOCK_DRIVER_TABLE_ENTRY,
#if defined(TTY1_DRIVER_TABLE_ENTRY)
TTY1_DRIVER_TABLE_ENTRY,
#endif
#if defined(TTY2_DRIVER_TABLE_ENTRY)
TTY2_DRIVER_TABLE_ENTRY,
#endif
{NULL, NULL, NULL, NULL, NULL, NULL}
};
#endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8
#define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024)
#define CONFIGURE_MAXIMUM_SEMAPHORES 20
#define CONFIGURE_MAXIMUM_TASKS 20
#define CONFIGURE_MICROSECONDS_PER_TICK 10000
#define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024)
#define CONFIGURE_INIT_TASK_PRIORITY 120
#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
RTEMS_NO_TIMESLICE | \
RTEMS_NO_ASR | \
RTEMS_INTERRUPT_LEVEL(0))
#include <rtems/confdefs.h>
#endif